forked from kentcdodds/es6-todomvc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1007 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
30
31
32
33
34
35
36
37
38
39
40
41
{
"extends": [
"kentcdodds/best-practices",
"kentcdodds/possible-errors",
"kentcdodds/es6/best-practices",
"kentcdodds/es6/possible-errors",
"kentcdodds/import/best-practices",
"kentcdodds/import/possible-errors",
"kentcdodds/mocha",
"kentcdodds/webpack",
"kentcdodds/react",
],
"rules": {
// these are only here because I did not
// want to update the entire codebase ¯\_(ツ)_/¯
"func-names": 0,
"no-var": 0,
"func-style": 0,
"comma-dangle": 0,
"valid-jsdoc": 0,
"vars-on-top": 0,
"complexity": [2, 8],
"max-depth": [2, 6],
"consistent-return": 0,
"id-match": 0,
"import/newline-after-import": 0,
// es6 stuff we technically can not do yet
"strict": 0,
"object-shorthand": 0,
"prefer-arrow-callback": 0,
"prefer-template": 0,
"babel/object-shorthand": 0,
},
"globals": {
"describe": false,
"it": false,
"expect": false,
"$on": false,
"beforeEach": false,
}
}