-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
29 lines (29 loc) · 910 Bytes
/
.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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"extends": "airbnb",
"rules": {
"strict": [0, "global"],
"require-yield": "off",
"indent": [2, "tab", { "SwitchCase": 1, "VariableDeclarator": 1 }],
"no-tabs": 0,
"no-use-before-define": ["error", "nofunc"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-param-reassign": ["error", { "props": false }],
"camelcase": ["error", { "properties": "always" }],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never",
}],
"no-restricted-syntax": ["error", "LabeledStatement"],
"no-continue": "off"
}
}