diff --git a/eslint.config.js b/eslint.config.js index de884494..fa27591e 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,7 +1,7 @@ import { globalIgnores } from 'eslint/config'; import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'; import pluginVue from 'eslint-plugin-vue'; -//import pluginVitest from '@vitest/eslint-plugin'; +// import pluginVitest from '@vitest/eslint-plugin'; import js from '@eslint/js'; import globals from 'globals'; import stylistic from '@stylistic/eslint-plugin'; @@ -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', diff --git a/package.json b/package.json index 12a11cb5..32e0fad3 100644 --- a/package.json +++ b/package.json @@ -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": {