Skip to content

Commit

Permalink
chore: update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Mar 14, 2024
1 parent 7a21384 commit e0b7b13
Show file tree
Hide file tree
Showing 21 changed files with 77 additions and 76 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,

Expand Down
3 changes: 0 additions & 3 deletions app-vite/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// eslint-disable-next-line n/no-extraneous-require
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,

Expand Down
2 changes: 1 addition & 1 deletion app-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"electron-builder": "^24.12.0",
"electron-packager": "^17.1.1",
"eslint": "^8.57.0",
"eslint-config-quasar": "workspace:*",
"eslint-config-quasar": "^0.0.1",
"pinia": "^2.1.3",
"quasar": "^2.14.0",
"ts-essentials": "^9.1.2",
Expand Down
3 changes: 0 additions & 3 deletions app-webpack/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// eslint-disable-next-line n/no-extraneous-require
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,

Expand Down
2 changes: 1 addition & 1 deletion app-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"electron-builder": "^24.12.0",
"electron-packager": "^17.1.1",
"eslint": "^8.57.0",
"eslint-config-quasar": "workspace:*",
"eslint-config-quasar": "^0.0.1",
"pinia": "^2.1.3",
"quasar": "^2.14.5",
"ts-essentials": "^9.1.2",
Expand Down
3 changes: 0 additions & 3 deletions cli/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// eslint-disable-next-line n/no-extraneous-require
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,

Expand Down
3 changes: 2 additions & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"update-notifier": "^6.0.2"
},
"devDependencies": {
"eslint-config-quasar": "workspace:*"
"eslint": "^8.57.0",
"eslint-config-quasar": "^0.0.1"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions docs/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,

Expand Down Expand Up @@ -41,6 +39,7 @@ module.exports = {
'no-confusing-arrow': 'off',

'quasar/check-valid-props': 'warn',
'import/named': 'off',

'vue/no-mutating-props': 'off',
'vue/no-v-model-argument': 'off',
Expand Down
8 changes: 2 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,12 @@
"vue-router": "^4.2.4"
},
"devDependencies": {
"@quasar/app-vite": "^2.0.0-beta.1",
"@quasar/app-vite": "^2.0.0-beta.5",
"autoprefixer": "^10.4.17",
"axios": "^1.6.7",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-quasar": "^1.1.0",
"eslint-plugin-vue": "^9.22.0",
"eslint-config-quasar": "^0.0.1",
"fast-glob": "^3.2.12",
"fs-extra": "^11.2.0",
"gray-matter": "^4.0.2",
Expand Down
13 changes: 5 additions & 8 deletions docs/quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,11 @@ export default ctx => ({
vitePlugins: [
mdPlugin,
examplesPlugin(ctx.prod),

process.env.NO_DOCS_LINTING === 'true'
? null
: [ 'vite-plugin-checker', {
eslint: {
lintCommand: 'eslint --report-unused-disable-directives "./**/*.{js,mjs,cjs,vue}"'
}
}, { server: false } ]
[ 'vite-plugin-checker', {
eslint: {
lintCommand: 'eslint --report-unused-disable-directives "./**/*.{js,mjs,cjs,vue}"'
}
}, { server: false } ]
],

extendViteConf (viteConf, { isClient }) {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"vue-ecosystem-ci:test": "pnpm workspace quasar test:component:run && pnpm workspace @quasar/vite-plugin test:e2e:ci"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.7.2",
"eslint": "^8.57.0",
"eslint-config-quasar": "workspace:*"
}
Expand Down
Loading

0 comments on commit e0b7b13

Please sign in to comment.