-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.js
45 lines (45 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
43
44
45
module.exports = {
'env': {
'browser': true,
'es2021': true,
'node': true,
},
'extends': [
'plugin:vue/essential',
'google',
],
'parserOptions': {
'ecmaVersion': 12,
'parser': '@typescript-eslint/parser',
'sourceType': 'module',
},
'plugins': [
'vue',
'@typescript-eslint',
],
'rules': {
'valid-jsdoc': 'off',
'require-jsdoc': 'off',
'max-len': ['error', {
'code': 200,
'tabWidth': 2,
'ignoreTrailingComments': true,
'ignoreUrls': true,
'ignoreStrings': true,
'ignoreTemplateLiterals': true,
'ignoreRegExpLiterals': true,
}],
'object-curly-spacing': ['error', 'always'],
'vue/no-multiple-template-root': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-mutating-props': 'off',
'vue/no-v-model-argument': 'off',
'vue/html-indent': ['error', 2, {
'attribute': 1,
'baseIndent': 1,
'closeBracket': 0,
'alignAttributesVertically': true,
'ignores': [],
}],
},
};