forked from documentationjs/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
52 lines (52 loc) · 1.17 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
45
46
47
48
49
50
51
52
{
"root": true,
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "script"
},
"plugins": [
"flowtype"
],
"rules": {
"space-in-parens": 2,
"space-before-blocks": 2,
"keyword-spacing": 2,
"space-unary-ops": 2,
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"no-use-before-define": [2, "nofunc"],
"camelcase": 2,
"semi": 2,
"comma-style": 2,
"no-lonely-if": 2,
"max-len": [2, 120],
"no-else-return": 2,
"no-trailing-spaces": 2,
"new-cap": 2,
"no-empty": 2,
"consistent-return": 0,
"no-new": 2,
"key-spacing": 2,
"no-multi-spaces": 2,
"brace-style": 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,
"quotes": [2, "single"],
"indent": [2, 2],
"curly": 2,
"strict": [2, "global"],
"no-shadow": 0,
"no-undef": 2,
"flowtype/define-flow-type": 1,
"flowtype/use-flow-type": 1
},
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true
}
}