forked from pmndrs/react-three-fiber
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
41 lines (41 loc) · 793 Bytes
/
.eslintrc.json
File metadata and controls
41 lines (41 loc) · 793 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
40
41
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"prettier"
],
"plugins": [
"react-hooks"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"curly": [
"warn",
"multi-line",
"consistent"
],
"no-console": "off",
"no-dupe-class-members": "error",
"no-empty": "warn",
"no-undef": "error",
"no-unused-expressions": "error",
"no-unused-vars": "error",
"no-var": "warn",
"prefer-const": "warn",
"no-shadow": "warn",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}