forked from RisingStack/react-easy-state
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
34 lines (34 loc) · 908 Bytes
/
.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
{
"parser": "babel-eslint",
"extends": ["airbnb", "prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": ["error"],
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"import/no-mutable-exports": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"func-names": "off",
"max-classes-per-file": "off",
"react/prefer-stateless-function": "off",
"react/destructuring-assignment": "off",
"react/state-in-constructor": "off",
"react/jsx-props-no-spreading": "off",
"react/prop-types": "off",
"react/jsx-one-expression-per-line": "off"
},
"globals": {
"window": true,
"EventTarget": true,
"WebSocket": true,
"describe": true,
"afterAll": true,
"test": true,
"expect": true,
"afterEach": true,
"document": true,
"jest": true,
"Event": true
}
}