-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
44 lines (44 loc) · 1.06 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
43
44
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"rules": {
// these are only here because I did not
// want to update the entire codebase ¯\_(ツ)_/¯
"no-undef": 0,
"func-names": 0,
"no-var": 0,
"func-style": 0,
"comma-dangle": 0,
"valid-jsdoc": 0,
"vars-on-top": 0,
"import/prefer-default-export": 0,
"complexity": [2, 8],
"max-depth": [2, 6],
"consistent-return": 0,
"react/jsx-filename-extension": 0,
"jsx-a11y/no-static-element-interactions": 0,
"id-match": 0,
"import/newline-after-import": 0,
"react/forbid-prop-types": 0,
// es6 stuff we technically can not do yet
"strict": 0,
"max-len": ["error", 120],
"object-shorthand": 0,
"prefer-arrow-callback": 0,
"prefer-template": 0,
"react/prefer-stateless-function": 0,
"babel/object-shorthand": 0,
"class-methods-use-this": 0,
"no-prototype-builtins": 0
},
"globals": {
"describe": false,
"it": false,
"expect": false,
"$on": false,
"beforeEach": false,
"window": true
}
}