-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
.eslintrc
44 lines (44 loc) · 997 Bytes
/
.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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"globals": {
"process": false,
"require": false,
"define": false,
"console": false,
"__UPLOAD_API__": false,
"__API_HOST__": false,
"__INVITE_KEY__": false,
"__LATEST_TERMS__": false
},
"extends": [
"plugin:react-hooks/recommended"
],
"rules": {
"quotes": [2, "single", {
"avoidEscape": true
}],
"strict": [2, "never"],
"eol-last": [0],
"no-mixed-requires": [0],
"no-underscore-dangle": [0],
"no-bitwise": 2,
"camelcase": ["error", { "allow": ["^UNSAFE_"] }],
"eqeqeq": 2,
"wrap-iife": [2, "inside"],
"no-use-before-define": [2, "nofunc"],
"no-caller": 2,
"no-undef": 2,
"new-cap": ["error", { "capIsNewExceptionPattern": "UNSAFE_" }],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"react/jsx-no-target-blank": 2
},
"plugins": [
"react"
]
}