| module.exports = { | |
| root: true, | |
| env: { | |
| browser: true, | |
| es2021: true, | |
| node: true, | |
| }, | |
| parser: "vue-eslint-parser", | |
| parserOptions: { | |
| parser: "@typescript-eslint/parser", | |
| ecmaVersion: "latest", | |
| sourceType: "module", | |
| extraFileExtensions: [".vue"], | |
| }, | |
| plugins: ["vue", "@typescript-eslint"], | |
| extends: [ | |
| "eslint:recommended", | |
| "plugin:vue/vue3-essential", | |
| "plugin:@typescript-eslint/recommended", | |
| ], | |
| rules: { | |
| "no-constant-condition": "off", | |
| "no-mixed-spaces-and-tabs": "off", | |
| "no-useless-escape": "off", | |
| "no-unused-vars": "off", | |
| "@typescript-eslint/no-unused-vars": [ | |
| "warn", | |
| { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }, | |
| ], | |
| "@typescript-eslint/ban-types": "off", | |
| "@typescript-eslint/ban-ts-comment": "off", | |
| "@typescript-eslint/no-explicit-any": "off", | |
| "vue/multi-word-component-names": "off", | |
| "vue/no-use-v-if-with-v-for": "off", | |
| }, | |
| }; | |