-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
44 lines (44 loc) · 1000 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
32
33
34
35
36
37
38
39
40
41
42
43
44
module.exports = {
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
sourceType: 'module',
ecmaVersion: 6,
ecmaFeatures: {
jsx: true,
tsx: true
}
},
env: {
browser: true,
node: true,
jest: true,
es6: true
},
plugins: ['@typescript-eslint'],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:vue/vue3-recommended'
],
rules: {
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
'no-undef': 2,
'vue/max-attributes-per-line': 'off',
'vue/no-multiple-template-root': 'off',
'vue/script-setup-uses-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: 'none',
requireLast: false,
},
singleline: {
delimiter: 'semi',
requireLast: true,
},
},
]
}
};