forked from Zayar-Win/AnimeNook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
39 lines (39 loc) · 998 Bytes
/
.eslintrc.json
File metadata and controls
39 lines (39 loc) · 998 Bytes
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
{
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"plugins": ["react", "react-hooks"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"es2020": true
},
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"indent": ["error", 4],
"linebreak-style": 0,
"react/react-in-jsx-scope": "off",
"react-hooks/rules-of-hooks": "warn",
"react-hooks/exhaustive-deps": "off",
"react/prop-types": "off",
"quotes": ["off"],
"import/no-unresolved": "off",
"import/extensions": "off",
"no-console": "warn",
"react/no-unescaped-entities": "off",
"react/no-children-prop": "off",
"no-unsafe-optional-chaining": "off"
}
}