-
Notifications
You must be signed in to change notification settings - Fork 63
/
.eslintrc
43 lines (43 loc) · 1.03 KB
/
.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
{
"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"
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": { "jsx": true },
"allowImportExportEverywhere": false,
"codeFrame": false
},
"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
}
}