-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.eslintrc
45 lines (45 loc) · 1008 Bytes
/
.eslintrc
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
{
"root": true,
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@babel/eslint-parser",
"ecmaVersion": 12,
"sourceType": "module",
"ecmaFeatures": {
"globalReturn": true
}
},
"env": {
"browser": true,
"node": true,
"commonjs": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"semistandard",
"plugin:vue/base",
"plugin:vue/recommended"
],
"rules": {
"vue/html-self-closing": ["warn", {
"html": {
"void": "never",
"normal": "always",
"component": "any"
},
"svg": "always",
"math": "always"
}],
"vue/max-attributes-per-line": [2, {
"singleline": 6,
"multiline": 9
}],
"vue/singleline-html-element-content-newline": 0,
"vue/multi-word-component-names": 0,
"vue/no-reserved-component-names": 0,
"node/no-unsupported-features/es-syntax": 0,
"node/no-unpublished-require": 0,
"node/no-unsupported-features": 0
}
}