forked from uttrasey/react-formable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
76 lines (72 loc) · 2.09 KB
/
.eslintrc
File metadata and controls
76 lines (72 loc) · 2.09 KB
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
{
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"extends": "eslint:recommended",
"globals": {
"process": true,
"module": true
},
"parser": "babel-eslint",
"plugins": ["react"],
"rules": {
"quote-props": [
2, "as-needed", {"keywords": true}
],
"valid-jsdoc": 1,
"block-scoped-var": 2,
"no-console": 1,
"no-else-return": 1,
"radix": 2,
"array-bracket-spacing": [1, "never"],
"block-spacing": [1, "never"],
"brace-style": [
1, "1tbs", {"allowSingleLine": true}
],
"comma-style": [1, "last"],
"computed-property-spacing": [1, "never"],
"consistent-this": [1, "this"],
"func-style": [1, "expression"],
"indent": [1, 4],
"jsx-quotes": [1, "prefer-double"],
"key-spacing": [1, {"afterColon": true}],
"linebreak-style": [1, "unix"],
"new-cap": [1, {"newIsCap": true}],
"newline-after-var": [1, "always"],
"no-lonely-if": 1,
"no-case-declarations": 2,
"no-empty-pattern": 1,
"no-multiple-empty-lines": 1,
"no-unneeded-ternary": 1,
"object-curly-spacing": [1, "always"],
"padded-blocks": [1, "never"],
"prefer-arrow-callback": 1,
"prefer-template": 1,
"quotes": [1, "single"],
"space-before-blocks": [1, "always"],
"space-before-function-paren": [
1, {"anonymous": "always", "named": "never"}
],
"no-var": 1,
"react/jsx-curly-spacing": [1, "never"],
"react/jsx-max-props-per-line": [1,
{"maximum": 2}
],
"react/jsx-no-duplicate-props": [
1, {"ignoreCase": true}
],
"react/jsx-uses-react": 1,
"react/no-did-update-set-state": 1,
"react/no-direct-mutation-state": 1,
"react/prop-types": 1,
"react/self-closing-comp": 1,
"react/sort-comp": 1
}
}