-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
28 lines (28 loc) · 888 Bytes
/
.eslintrc.js
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
module.exports = {
"root" : true,
"extends" : [
"eslint-config-airbnb-base",
"eslint-config-airbnb-base/rules/strict"
],
parserOptions : {
sourceType : "script"
},
"rules" : {
"strict" : [2, "global"],
"arrow-body-style" : [0],
"prefer-rest-params" : [0],
"quotes" : [2, "double"],
"brace-style" : [2, "1tbs", { "allowSingleLine": false }],
"comma-dangle" : [2, "never"],
"curly" : [2, "all"],
"indent" : [2, "tab", { "SwitchCase": 1, "VariableDeclarator": 1 }],
"no-mixed-spaces-and-tabs" : [2, "smart-tabs"],
"key-spacing" : [2, { "align": "colon", "beforeColon": true, "afterColon": true }],
"no-multi-spaces" : [2, { "exceptions": { "VariableDeclarator": true, "Property": true } }],
"import/no-extraneous-dependencies": [2, { "devDependencies" : true }],
"prefer-spread": [0],
"no-tabs": [0],
"arrow-parens": [0],
"no-plusplus": [0]
}
};