forked from dscnitrourkela/project-raisin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
37 lines (37 loc) · 971 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
{
"root": true,
"extends": ["airbnb", "airbnb/hooks", "plugin:react/recommended", "prettier"],
"plugins": ["react", "prettier"],
"env": {
"browser": true,
"jest": true,
"es2020": true
},
"globals": {
"Atomics": "readonly",
"SharedBufferArray": "readonly"
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
},
"parserOptions": { "ecmaVersion": "latest", "sourceType": "module" },
"rules": {
"max-len": ["error", { "code": 100 }],
"prefer-promise-reject-errors": ["off"],
"react/jsx-filename-extension": ["off"],
"no-return-assign": ["off"],
"react/prop-types": 0,
"react/function-component-definition": 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,
"import/no-cycle": 0
}
}