-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
45 lines (45 loc) · 1.1 KB
/
.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
{
"parserOptions": {
"ecmaVersion": 2020
},
"extends": ["airbnb", "plugin:vue/recommended"],
"env": {
"browser": true,
"jquery": true
},
"globals": {
"Foundation": true
},
"rules": {
"block-scoped-var": "off",
"indent": [
"error",
4
],
"no-plusplus": "off",
"no-restricted-syntax": "off",
"padded-blocks": [
"error",
{
"blocks": "always",
"switches": "always",
"classes": "always"
}
],
"prefer-arrow-callback": "off",
"prefer-destructuring": "off",
"prefer-template": "off",
"space-before-function-paren": [
"error",
"never"
],
"prefer-object-spread": "off",
"space-infix-ops": "error",
"vars-on-top": "off",
"linebreak-style": 0,
"import/extensions": "off",
"import/prefer-default-export": "off",
"arrow-body-style": ["error", "always"]
},
"plugins": ["import", "vue"],
}