-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
50 lines (50 loc) · 1.17 KB
/
.eslintrc.json
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
45
46
47
48
49
50
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true,
"browser": true,
"mocha": true,
"jquery": true
},
"plugins": ["flowtype", "mocha"],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"rules": {
"semi": "off",
"camelcase": "off",
"consistent-return": "off",
"curly": "off",
"mocha/no-exclusive-tests": "error",
"max-len": ["error", 110, 2],
"new-cap": "off",
"no-case-declarations": "off",
"no-cond-assign": "off",
"no-confusing-arrow": "error",
"no-console": "off",
"no-constant-condition": "off",
"no-empty": "off",
"no-fallthrough": "off",
"no-inner-declarations": "off",
"no-labels": "off",
"no-loop-func": "off",
"no-process-exit": "off",
"no-return-assign": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"no-unreachable": "off",
"no-use-before-define": "off",
"no-var": "error",
"prefer-const": "off",
"strict": "off",
"flowtype/define-flow-type": "warn",
"flowtype/use-flow-type": "warn"
},
"globals": {
"Iterator": true,
"$Keys": true
}
}