-
-
Notifications
You must be signed in to change notification settings - Fork 674
Expand file tree
/
Copy path.eslintrc
More file actions
31 lines (31 loc) · 646 Bytes
/
Copy path.eslintrc
File metadata and controls
31 lines (31 loc) · 646 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
{
"env": {
"browser": true,
"jest": true,
"es6": true,
"node": true
},
"plugins": ["import", "react"],
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:react-hooks/recommended"],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"rules": {
"no-console": "off",
"no-eval": "error",
"import/first": "error",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}