-
Notifications
You must be signed in to change notification settings - Fork 93
/
.eslintrc
90 lines (88 loc) · 2.57 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
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
80
81
82
83
84
85
86
87
88
89
90
{
"extends": "eslint:recommended",
"plugins": [
"react"
],
"env": {
"browser": true,
"es6": true,
"node": true
},
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true,
"modules": true
},
"rules": {
"no-alert": 2,
"no-array-constructor": 2,
"no-bitwise": 1,
"no-catch-shadow": 2,
"no-empty": 1,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 1,
"no-implied-eval": 2,
"no-iterator": 2,
"no-label-var": 2,
"no-labels": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-multi-spaces": 1,
"no-native-reassign": 2,
"no-new-func": 2,
"no-new-wrappers": 2,
"no-octal-escape": 2,
"no-proto": 2,
"no-return-assign": 2,
"no-sequences": 2,
"no-shadow": 2,
"no-shadow-restricted-names": 2,
"no-spaced-func": 2,
"no-undef-init": 2,
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"no-use-before-define": [2, "nofunc"],
"no-with": 2,
"arrow-spacing": 1,
"brace-style": [2, "1tbs"],
"camelcase": 1,
"comma-dangle": 1,
"comma-spacing": 1,
"curly": [2, "all"],
"dot-notation": [1, {"allowKeywords": true}],
"eqeqeq": [2, "smart"],
"indent": 2,
"jsx-quotes": 1,
"key-spacing": 1,
"new-cap": 1,
"new-parens": 2,
"quotes": [2, "single"],
"semi": 2,
"semi-spacing": 1,
"space-infix-ops": 1,
"space-return-throw-case": 1,
"space-unary-ops": 1,
"strict": [0, "function"],
"wrap-iife": [2, "any"],
"yoda": [1, "never"],
"react/jsx-closing-bracket-location": 1,
"react/jsx-curly-spacing": 1,
"react/jsx-indent-props": 1,
"react/jsx-max-props-per-line": [1, {"maximum": 3}],
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-undef": 2,
"react/jsx-sort-prop-types": 1,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/no-did-mount-set-state": [2, "allow-in-func"],
"react/no-did-update-set-state": 2,
"react/no-direct-mutation-state": 2,
"react/no-multi-comp": 1,
"react/no-unknown-property": 2,
"react/prop-types": [2, {ignore: "children"}],
"react/react-in-jsx-scope": 2,
"react/self-closing-comp": 1,
"react/sort-comp": 2,
"react/wrap-multilines": 2
}
}