forked from brunosimon/folio-2019
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
79 lines (79 loc) · 2.64 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"env":
{
"browser": true,
"es6": true
},
"extends": ["eslint:recommended"],
"parserOptions":
{
"sourceType": "module",
"ecmaFeatures":{
"experimentalObjectRestSpread": true
}
},
"globals":
{
},
"rules":
{
"no-unused-vars": 1,
"no-console": 0,
"dot-notation": 1,
"eqeqeq": 1,
"no-else-return": 0,
"no-new-func": 1,
"no-param-reassign": [1, { "props": false }],
"no-useless-concat": 1,
"no-useless-escape": 1,
"radix": [1, "as-needed"],
"no-undef": 2,
"array-bracket-spacing": [1, "never"],
"brace-style": [1, "allman"],
"camelcase": [1, { "properties": "never" }],
"comma-dangle": [1, "never"],
"comma-style": [1, "last"],
"func-style": [1, "expression"],
"id-length": 0,
"indent": [1, 4, { "SwitchCase": 1 }],
"keyword-spacing": [1, { "after": false, "before": true, "overrides": { "from": { "after": true }, "return": { "after": true }, "import": { "after": true }, "case": { "after": true } } }],
"max-len": 0,
"new-cap": [1, { "newIsCap": true, "newIsCapExceptions": [], "capIsNew": false, "capIsNewExceptions": ["Immutable.Map", "Immutable.Set", "Immutable.List"] }],
"no-array-constructor": 1,
"no-bitwise": 0,
"no-mixed-operators": 0,
"no-nested-ternary": 0,
"no-new-object": 1,
"no-plusplus": 0,
"no-restricted-syntax": 0,
"no-trailing-spaces": 1,
"no-underscore-dangle": 0,
"no-unneeded-ternary": 1,
"no-whitespace-before-property": 1,
"object-curly-spacing": [1, "always"],
"one-var": [1, "never"],
"padded-blocks": [1, "never"],
"quote-props": [1, "as-needed"],
"quotes": [1, "single"],
"semi": [1, "never"],
"space-before-blocks": [1, "always"],
"space-before-function-paren": [1, { "anonymous": "never", "named": "never", "asyncArrow": "never" }],
"space-in-parens": [1, "never"],
"space-infix-ops": 1,
"spaced-comment": [1, "always"],
"arrow-body-style": 0,
"arrow-parens": [1, "always"],
"arrow-spacing": [1, { "before": true, "after": true }],
"no-confusing-arrow": 0,
"no-dupe-class-members": 1,
"no-duplicate-imports": 0,
"no-useless-constructor": 1,
"no-var": 1,
"object-shorthand": 0,
"prefer-const": 1,
"prefer-rest-params": 1,
"prefer-spread": 1,
"prefer-template": 0,
"template-curly-spacing": [1, "never"]
}
}