forked from documentationjs/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
43 lines (43 loc) · 875 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
42
43
{
"root": true,
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"plugins": [
"flowtype"
],
"rules": {
"no-var": 2,
"prefer-const": 2,
"no-use-before-define": [2, "nofunc"],
"camelcase": 2,
"no-lonely-if": 2,
"no-else-return": 2,
"new-cap": 2,
"no-empty": 2,
"consistent-return": 0,
"no-new": 2,
"object-shorthand": ["error", "always", { "avoidQuotes": true }],
"no-throw-literal": 2,
"no-self-compare": 2,
"no-void": 2,
"no-unused-vars": 2,
"wrap-iife": 2,
"no-eq-null": 2,
"strict": [2, "global"],
"no-shadow": 0,
"no-undef": 2,
"flowtype/define-flow-type": 1,
"flowtype/use-flow-type": 1
},
"extends": [
"eslint:recommended",
"plugin:flowtype/recommended",
"prettier"
],
"env": {
"node": true,
"es6": true
}
}