-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (42 loc) · 1.06 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
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 5,
"impliedStrict": true
},
"env": {
"node": true,
"browser": true
},
"globals": {},
"rules": {
"no-undef": "off",
"no-unused-vars": "off",
"no-unused-expressions": "off",
"strict": "off",
"indent": ["error", 4, {
"SwitchCase": 1
}],
"linebreak-style": ["error", "unix"],
"semi": [2, "always"],
"quotes": [2, "single", "avoid-escape"],
"eqeqeq": [2, "smart"],
"brace-style": [2, "1tbs"],
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"space-before-blocks": [1, "always"],
"no-console": "off",
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true,
"mode": "minimum"
}],
"new-cap": [2, {
"properties": false
}]
},
"plugins": []
}