-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
31 lines (31 loc) · 912 Bytes
/
.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
module.exports = {
env: {
browser: true,
es2021: true,
node: true
},
extends: ['eslint:recommended', 'plugin:vue/essential', 'plugin:@typescript-eslint/recommended'],
parserOptions: {
ecmaVersion: 'latest',
parser: '@typescript-eslint/parser',
sourceType: 'module'
},
parser: 'vue-eslint-parser',
plugins: ['vue', '@typescript-eslint'],
rules: {
'no-undef': 'off',
'vue/no-mutating-props': 'off',
'@typescript-eslint/no-explicit-any': ['off'],
'no-console': 'warn',
'no-debugger': 'warn',
'vue/no-multiple-template-root': 'off',
'vue/multi-word-component-names': 'off',
'no-mutating-props': 'off',
'vue/no-v-html': 'off',
'vue/no-setup-props-destructure': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/ban-types': 'off',
'vue/no-v-model-argument': 'off',
'vue/no-parsing-error': 'off'
}
}