|
1 |
| -module.exports = { |
2 |
| - root: true, |
3 |
| - parserOptions: { |
4 |
| - parser: '@typescript-eslint/parser' |
5 |
| - }, |
6 |
| - env: { |
7 |
| - browser: true, |
8 |
| - es6: true, |
9 |
| - node: true |
10 |
| - }, |
11 |
| - plugins: ['prettier', 'vue', '@typescript-eslint/eslint-plugin'], |
12 |
| - rules: { |
13 |
| - 'prettier/prettier': 'error', |
14 |
| - 'no-unused-vars': 'off', |
15 |
| - '@typescript-eslint/no-explicit-any': 'off', |
16 |
| - '@typescript-eslint/member-delimiter-style': 'off', |
17 |
| - '@typescript-eslint/no-var-requires': 'off', |
18 |
| - '@typescript-eslint/ban-ts-ignore': 'off' |
19 |
| - }, |
20 |
| - extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/typescript/recommended'], |
21 |
| - overrides: [ |
22 |
| - { |
23 |
| - files: ['**/tests/*.{j,t}s?(x)', '**/tests/**/*.spec.{j,t}s?(x)', '**/tests/*.spec.{j,t}s?(x)'], |
24 |
| - env: { |
25 |
| - mocha: true |
26 |
| - } |
27 |
| - } |
28 |
| - ] |
29 |
| -} |
| 1 | +module.exports = { |
| 2 | + root: true, |
| 3 | + parserOptions: { |
| 4 | + parser: '@typescript-eslint/parser' |
| 5 | + }, |
| 6 | + env: { |
| 7 | + browser: true, |
| 8 | + es6: true, |
| 9 | + node: true |
| 10 | + }, |
| 11 | + plugins: ['prettier', 'vue', '@typescript-eslint/eslint-plugin'], |
| 12 | + rules: { |
| 13 | + 'prettier/prettier': 'off', |
| 14 | + 'no-unused-vars': 'off', |
| 15 | + '@typescript-eslint/no-explicit-any': 'off', |
| 16 | + '@typescript-eslint/member-delimiter-style': 'off', |
| 17 | + '@typescript-eslint/no-var-requires': 'off', |
| 18 | + '@typescript-eslint/ban-ts-ignore': 'off' |
| 19 | + }, |
| 20 | + extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/typescript/recommended'], |
| 21 | + overrides: [ |
| 22 | + { |
| 23 | + files: ['**/tests/*.{j,t}s?(x)', '**/tests/**/*.spec.{j,t}s?(x)', '**/tests/*.spec.{j,t}s?(x)'], |
| 24 | + env: { |
| 25 | + mocha: true |
| 26 | + } |
| 27 | + } |
| 28 | + ] |
| 29 | +} |
0 commit comments