-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslint.format.json
70 lines (70 loc) · 2.42 KB
/
.eslint.format.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
{
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true,
"impliedStrict": true
},
"sourceType": "module"
},
"rules": {
"arrow-parens": ["warn", "as-needed"],
"arrow-spacing": "warn",
"array-bracket-spacing": "warn",
"block-spacing": "warn",
"comma-dangle": ["warn", "always-multiline"],
"comma-spacing": "warn",
"computed-property-spacing": "warn",
"dot-location": ["warn", "property"],
"eol-last": "warn",
"indent": ["warn", 2],
"key-spacing": "warn",
"keyword-spacing": "warn",
"linebreak-style": "warn",
"lodash/preferred-alias": "warn",
"no-extra-parens": "warn",
"no-extra-semi": "warn",
"no-floating-decimal": "warn",
"no-implicit-coercion": "warn",
"no-irregular-whitespace": "warn",
"no-mixed-spaces-and-tabs": "warn",
"no-multiple-empty-lines": ["warn", {"max": 1}],
"no-multi-spaces": "warn",
"no-spaced-func": "warn",
"no-trailing-spaces": "warn",
"no-undef-init": "warn",
"no-useless-computed-key": "warn",
"no-useless-rename": "warn",
"no-var": "warn",
"no-whitespace-before-property": "warn",
"object-curly-spacing": "warn",
"object-shorthand" : "warn",
"prefer-arrow-callback": "warn",
"prefer-const": ["warn", {"destructuring": "all"}],
"prefer-numeric-literals": "warn",
"quote-props": ["warn", "as-needed"],
"react/jsx-boolean-value": "warn",
"react/jsx-closing-bracket-location": ["warn", {"selfClosing": "after-props", "nonEmpty": "after-props"}],
"react/jsx-curly-spacing": "warn",
"react/jsx-equals-spacing": "warn",
"react/jsx-indent": ["warn", 2],
"react/jsx-indent-props": ["warn", 2],
"react/jsx-space-before-closing": "warn",
"react/no-unknown-property": "warn",
"rest-spread-spacing": "warn",
"semi": "warn",
"semi-spacing": "warn",
"space-before-blocks": "warn",
"space-before-function-paren": ["warn", "never"],
"space-in-parens": "warn",
"space-infix-ops": "warn",
"space-unary-ops": "warn",
"spaced-comment": "warn",
"template-curly-spacing": "warn",
"yoda" : "warn"
},
"plugins": [
"lodash",
"react"
]
}