-
Notifications
You must be signed in to change notification settings - Fork 45
/
.eslintrc.json
186 lines (186 loc) · 6.78 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"arrow-body-style": "off",
"arrow-parens": "off",
"camelcase": "off",
"class-methods-use-this": "off",
"comma-dangle": "off",
"consistent-return": "off",
"func-names": "off",
"global-require": "off",
"import/newline-after-import": "off",
"import/order": "off",
"indent": "off",
"jsx-quotes":"off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"linebreak-style": "off",
"max-len": "off",
"no-await-in-loop": "off",
"no-console": "off",
"no-continue": "off",
"no-else-return": "off",
"no-empty": "off",
"no-multi-assign": "off",
"no-multi-spaces": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-return-await": "off",
"no-throw-literal": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"object-curly-newline": "off",
"operator-assignment": "off",
"operator-linebreak": "off",
"prefer-const": "off",
"prefer-destructuring": "off",
"prefer-template": "off",
"quotes": "off",
"radix": "off",
"quote-props": "off",
"react/no-find-dom-node": "off",
"react/destructuring-assignment": "off",
"react/forbid-prop-types": "off",
"react/jsx-boolean-value": "off",
"react/jsx-child-element-spacing": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-closing-tag-location": "off",
"react/jsx-curly-brace-presence": "off",
"react/jsx-curly-brace-presenceexpressions on literals in JSX children or attributes (fixable)": "off",
"react/jsx-curly-newline": "off",
"react/jsx-curly-spacing": "off",
"react/jsx-equals-spacing": "off",
"react/jsx-filename-extension": "off",
"react/jsx-first-prop-new-line": "off",
"react/jsx-fragments": "off",
"react/jsx-handler-names": "off",
"react/jsx-indent": "off",
"react/jsx-indent-props": "off",
"react/jsx-key": "off",
"react/jsx-max-depth": "off",
"react/jsx-max-props-per-line": "off",
"react/jsx-newline": "off",
"react/jsx-no-bind": "off",
"react/jsx-no-comment-textnodes": "off",
"react/jsx-no-constructed-context-valuesrerenders.": "off",
"react/jsx-no-duplicate-props": "off",
"react/jsx-no-literals": "off",
"react/jsx-no-script-url": "off",
"react/jsx-no-target-blank": "off",
"react/jsx-no-undef": "off",
"react/jsx-no-useless-fragment": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-pascal-case": "off",
"react/jsx-props-no-multi-spaces": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-sort-default-props": "off",
"react/jsx-sort-props": "off",
"react/jsx-space-before-closing": "off",
"react/jsx-tag-spacing": "off",
"react/jsx-uses-react": "off",
"react/jsx-uses-vars": "off",
"react/jsx-wrap-multilines": "off",
"react/require-default-props": "off",
"react/sort-comp": "off",
"react/boolean-prop-naming": "off",
"react/button-has-type": "off",
"react/default-props-match-prop-types": "off",
"react/destructuring-assignment": "off",
"react/display-name": "off",
"react/forbid-component-props": "off",
"react/forbid-dom-props": "off",
"react/forbid-elements": "off",
"react/forbid-foreign-prop-types": "off",
"react/forbid-prop-types": "off",
"react/function-component-definition": "off",
"react/no-access-state-in-setstate": "off",
"react/no-adjacent-inline-elements": "off",
"react/no-array-index-key": "off",
"react/no-children-prop": "off",
"react/no-danger": "off",
"react/no-danger-with-children": "off",
"react/no-deprecated": "off",
"react/no-did-mount-set-state": "off",
"react/no-did-update-set-state": "off",
"react/no-direct-mutation-state": "off",
"react/no-find-dom-node": "off",
"react/no-is-mounted": "off",
"react/no-multi-comp": "off",
"react/no-redundant-should-component-update": "off",
"react/no-render-return-value": "off",
"react/no-set-state": "off",
"react/no-string-refs": "off",
"react/no-this-in-sfc": "off",
"react/no-typos": "off",
"react/no-unescaped-entities": "off",
"react/no-unknown-property": "off",
"react/no-unsafe": "off",
"react/no-unused-prop-types": "off",
"react/no-unused-state": "off",
"react/no-will-update-set-state": "off",
"react/prefer-es6-class": "off",
"react/prefer-read-only-props": "off",
"react/prefer-stateless-function": "off",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off",
"react/require-optimization": "off",
"react/require-render-return": "off",
"react/self-closing-comp": "off",
"react/sort-comp": "off",
"react/sort-prop-types": "off",
"react/state-in-constructor": "off",
"react/static-property-placement": "off",
"react/style-prop-object": "off",
"react/void-dom-elements-no-children": "off",
"jsx-a11y/accessible-emoji": "off",
"jsx-a11y/alt-text": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/aria-activedescendant-has-tabindex": "off",
"jsx-a11y/aria-props": "off",
"jsx-a11y/aria-proptypes": "off",
"jsx-a11y/aria-role": "off",
"jsx-a11y/aria-unsupported-elementsattributes.": "off",
"jsx-a11y/autocomplete-valid": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/heading-has-content": "off",
"jsx-a11y/html-has-lang": "off",
"jsx-a11y/iframe-has-title": "off",
"jsx-a11y/img-redundant-alt": "off",
"jsx-a11y/interactive-supports-focus": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/lang": "off",
"jsx-a11y/media-has-caption": "off",
"jsx-a11y/mouse-events-have-key-events": "off",
"jsx-a11y/no-access-keyused by a screenreader.": "off",
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/no-distracting-elements": "off",
"jsx-a11y/no-interactive-element-to-noninteractive-role": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/no-noninteractive-element-to-interactive-role": "off",
"jsx-a11y/no-noninteractive-tabindex": "off",
"jsx-a11y/no-onchange": "off",
"jsx-a11y/no-redundant-roles": "off",
"jsx-a11y/no-static-element-interactionsthe role attribute.": "off",
"jsx-a11y/role-has-required-aria-props": "off",
"jsx-a11y/role-supports-aria-propssupported by that role.": "off",
"jsx-a11y/scope": "off",
"jsx-a11y/tabindex-no-positive": "off",
"no-return-assign": "off",
"semi": "off",
"spaced-comment": "off",
"template-curly-spacing": "off",
"import/first": "off",
"no-unused-expressions": "off",
"no-loop-func":"off"
}
}