-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
29 lines (29 loc) · 924 Bytes
/
.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
{
"env": {
"browser": false,
"es2021": true
},
"extends": "airbnb-base",
"overrides": [
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"semi": ["error", "never"],
"no-console": "off",
"import/extensions": "off",
"quotes": ["error", "double"],
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"semi-spacing": ["error", {"before": false, "after": true}],
"key-spacing": ["error", {"beforeColon": false, "afterColon": true}],
"space-before-blocks": "error",
"space-before-function-paren": ["error", "always"],
"space-in-parens": ["error", "never"],
"array-bracket-spacing": ["error", "never"],
"comma-spacing": ["error", {"before": false, "after": true}],
"max-len": ["error", { "code": 120 }]
}
}