forked from openscope/openscope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (36 loc) · 1.16 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
{
"extends": "airbnb",
"env": {
"node": true,
"browser": true
},
"parser": "babel-eslint",
"rules": {
"arrow-body-style": 0,
"arrow-parens": [2, "always"],
"camelcase": [0, { "properties": "never" }],
"class-methods-use-this": 0,
"comma-dangle": [2, "never"],
"no-did-mount-set-state": [0, "never"],
"indent": [1, 4, {"SwitchCase": 1}],
"max-len": [1, 120],
"no-console": 0,
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }],
"prefer-spread": 1,
"semi": [2, "always"],
"space-before-function-paren": [2, "never"],
# The rules below are only included to get through the first rounds of refactor. the
# rules should be re-implemented and errors addressed at a later date
"block-scoped-var": 0,
"consistent-return": 0,
"func-names": 0,
"guard-for-in": 0,
"import/prefer-default-export": 0,
"no-param-reassign": 0,
"no-restricted-syntax": 0,
"no-shadow": 0,
"no-mixed-operators": 0,
"no-underscore-dangle": 0,
"object-shorthand": 0
}
}