forked from openscope/openscope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (41 loc) · 1.4 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": "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, 130],
"no-console": 0,
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }],
"operator-linebreak": [1, "after"],
"prefer-spread": 1,
"semi": [2, "always"],
"space-before-function-paren": [2, "never"],
"no-case-declarations": 0,
"no-continue": 0,
"no-else-return": [2, {"allowElseIf": true}],
"no-unused-vars": [2, { "argsIgnorePattern": "event|error" }],
"# 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
}
}