-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
51 lines (51 loc) · 1.04 KB
/
.eslintrc.json
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
46
47
48
49
50
51
{
"env": {
"es2020": true,
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": ["import", "tailwindcss"],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".json"]
}
}
},
"extends": [
"eslint:recommended",
"plugin:vue/vue3-recommended"
],
"rules": {
"comma-dangle": [1, "always-multiline"],
"comma-spacing": [1, {
"before": false,
"after": true
}],
"camelcase": [1, {
"properties": "always"
}],
"comma-style": [2, "last"],
"padded-blocks": [1, "never"],
"no-console": 1,
"no-debugger": 2,
"no-multi-spaces": 1,
"no-use-before-define": 2,
"semi": [1, "always"],
"semi-spacing": [1, {
"before": false,
"after": true
}],
"vue/max-len": [1, {
"code": 120,
"ignoreHTMLAttributeValues": true
}],
"vue/max-attributes-per-line": 2,
"vue/script-indent": 1,
"vue/multi-word-component-names": 0
}
}