-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path.eslintrc
44 lines (44 loc) · 974 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
{
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
"plugins": ["react-hooks"],
"rules": {
"react/react-in-jsx-scope": 0,
"no-console": "off",
"react/prop-types": 0,
"no-unused-vars": ["error", { "ignoreRestSiblings": true }],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"max-lines": ["warn", { "max": 500 }],
"react/display-name": 0,
"react/jsx-no-target-blank":0
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"rangy":true,
"unlocker":true,
"tf":true,
"bodyPix":true,
"Peer":true,
"PlainDraggable":true,
"webpushr":true,
"chrome":true
},
"env": {
"browser": true,
"node": true,
"es6": true,
"serviceworker": true
},
"settings": {
"react": {
"version": "16.8"
}
}
}