Update ESLint config and package.json with latest settings
This commit is contained in:
parent
3edca952cb
commit
3920ca97cc
2 changed files with 10 additions and 3 deletions
|
|
@ -80,7 +80,8 @@ export default defineConfigWithVueTs(
|
|||
...globals.browser,
|
||||
...globals.node,
|
||||
...globals.vitest,
|
||||
...globals.vue
|
||||
...globals.vue,
|
||||
...globals.jest
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -113,8 +114,12 @@ export default defineConfigWithVueTs(
|
|||
'@typescript-eslint/no-unused-vars': 'off',
|
||||
'jsdoc/reject-any-type': 'off',
|
||||
'jsdoc/require-param-description': 'off',
|
||||
'jsdoc/require-param-type': 'off',
|
||||
'jsdoc/require-returns-description': 'off',
|
||||
'jsdoc/require-returns': 'off',
|
||||
'jsdoc/require-returns-type': 'off',
|
||||
'jsdoc/ts-no-empty-object-type': 'off',
|
||||
'no-case-declarations': 'off',
|
||||
'no-constant-binary-expression': 'off',
|
||||
'no-dupe-keys': 'off',
|
||||
'no-import-assign': 'off',
|
||||
|
|
@ -126,6 +131,7 @@ export default defineConfigWithVueTs(
|
|||
'vitest/valid-title': 'off',
|
||||
'vue/max-len': 'off',
|
||||
'vue/multi-word-component-names': 'off',
|
||||
'vue/no-reserved-component-names': 'off',
|
||||
'vue/no-side-effects-in-computed-properties': 'off',
|
||||
'@typescript-eslint/no-require-imports': 'off',
|
||||
'vitest/no-commented-out-tests': 'off',
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@
|
|||
"test:unit:coverage": "vue-cli-service test:unit --coverage --ci --colors",
|
||||
"test:unit:lite": "vue-cli-service test:unit --ci",
|
||||
"test:playwright": "playwright test --config=playwright-tests/playwright.config.ts",
|
||||
"lint": "eslint --quiet .",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint --fix .",
|
||||
"lint:inspect": "eslint --inspect-config"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue