-
Notifications
You must be signed in to change notification settings - Fork 128
/
.eslintrc.js
42 lines (42 loc) · 1.02 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module.exports = {
root: true,
parserOptions: {
parser: '@typescript-eslint/parser'
},
env: {
browser: true,
es6: true,
node: true
},
plugins: ['prettier', 'vue', '@typescript-eslint/eslint-plugin'],
rules: {
'prettier/prettier': 'error',
'no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/class-name-casing': 'off',
'vue/valid-v-slot': 'off',
'no-debugger': 'off',
'vue/experimental-script-setup-vars': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off'
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/typescript/recommended'
],
overrides: [
{
files: [
'**/tests/*.{j,t}s?(x)',
'**/tests/**/*.spec.{j,t}s?(x)',
'**/tests/*.spec.{j,t}s?(x)'
],
env: {
mocha: true
}
}
]
}