Skip to content

Commit 696876b

Browse files
author
Sashko Stubailo
committed
Get rid of React from eslintrc until we think about it more
1 parent 0a29e76 commit 696876b

1 file changed

Lines changed: 0 additions & 48 deletions

File tree

scripts/admin/eslint/.eslintrc

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"parser": "babel-eslint",
3-
"plugins": [
4-
"react"
5-
],
63
"env": {
74
"browser": true,
85
"node": true
@@ -171,50 +168,5 @@
171168
"space-infix-ops": 2, // http://eslint.org/docs/rules/space-infix-ops
172169
"space-return-throw-case": 2, // http://eslint.org/docs/rules/space-return-throw-case
173170
"spaced-line-comment": 2, // http://eslint.org/docs/rules/spaced-line-comment
174-
175-
/**
176-
* JSX style
177-
*/
178-
"react/display-name": 0,
179-
"react/jsx-boolean-value": 2,
180-
"react/jsx-quotes": [2, "double"],
181-
"react/jsx-no-undef": 2,
182-
"react/jsx-sort-props": 0,
183-
"react/jsx-sort-prop-types": 0,
184-
"react/jsx-uses-react": 2,
185-
"react/jsx-uses-vars": 2,
186-
"react/no-did-mount-set-state": [2, "allow-in-func"],
187-
"react/no-did-update-set-state": 2,
188-
"react/no-multi-comp": 2,
189-
"react/no-unknown-property": 2,
190-
"react/prop-types": 2,
191-
"react/react-in-jsx-scope": 2,
192-
"react/self-closing-comp": 2,
193-
"react/wrap-multilines": 2,
194-
"react/sort-comp": [2, {
195-
"order": [
196-
"displayName",
197-
"propTypes",
198-
"contextTypes",
199-
"childContextTypes",
200-
"mixins",
201-
"statics",
202-
"defaultProps",
203-
"getDefaultProps",
204-
"getInitialState",
205-
"getChildContext",
206-
"componentWillMount",
207-
"componentDidMount",
208-
"componentWillReceiveProps",
209-
"shouldComponentUpdate",
210-
"componentWillUpdate",
211-
"componentDidUpdate",
212-
"componentWillUnmount",
213-
"/^on.+$/",
214-
"/^get.+$/",
215-
"/^render.+$/",
216-
"render"
217-
]
218-
}]
219171
}
220172
}

0 commit comments

Comments
 (0)