-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc
45 lines (45 loc) · 977 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
45
{
"root": true,
"extends": [
"airbnb",
"airbnb/hooks",
"plugin:react/recommended",
"prettier"
],
"plugins": ["react", "prettier"],
"env": {
"browser": true,
"jest": true,
"node": true,
"es6": true
},
"globals": {
"Atomics": "readonly",
"SharedBufferArray": "readonly"
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": { "jsx": true }
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
},
"rules": {
"max-len": ["error", { "code": 100 }],
"prefer-promise-reject-errors": ["off"],
"react/jsx-filename-extension": ["off"],
"no-return-assign": ["off"],
"react/prop-types": 0,
"import/prefer-default-export": 0,
"no-use-before-define": 0,
"click-events-have-key-events": 0,
"no-static-element-interactions": 0,
"prefer-destructuring": 1,
"react/display-name": 0,
"func-names": 0
}
}