-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
38 lines (35 loc) · 903 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
{
"parserOptions": {
"ecmaVersion": 2022
},
"extends": [
"airbnb-base",
"plugin:vue/recommended"
],
"rules": {
"max-len": ["error", 120],
"max-classes-per-file": "off",
"vue/max-attributes-per-line": ["error", {
"singleline": 2,
"multiline": 1
}],
"vue/multiline-html-element-content-newline": ["error", {
"ignores": ["label", "a", "button", "code", "RouterLink", "Equation"]
}],
"vue/singleline-html-element-content-newline": ["error", {
"ignores": ["label", "a", "button", "code", "RouterLink", "Equation"]
}],
"vue/html-self-closing": ["error", {
"html": {
"normal": "never"
}
}],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": ["assets/*.js", "*.config.js", "**/*.spec.js"]
}
],
"object-curly-spacing" : ["error", "always"]
}
}