-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
42 lines (41 loc) · 1020 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
{
"root": true,
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"mocha": true
},
"extends": [
"standard",
"plugin:vue/vue3-essential"
],
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"indent": ["error", 4]
},
"overrides": [{
"files": "src/**",
"extends": [
"plugin:vue/vue3-recommended"
],
"rules": {
// plugin:vue
"vue/html-indent": ["warn", 4, { "alignAttributesVertically": false }],
"vue/component-definition-name-casing": ["error", "kebab-case"],
// plugin:vue - style rules
"vue/html-self-closing": "off",
"vue/max-attributes-per-line": "off",
"vue/singleline-html-element-content-newline": "off",
"vue/first-attribute-linebreak": "off",
}
},
{
"files": "tests/**",
"env": {
"jest": true
}
}]
}