-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc-cc.json
39 lines (39 loc) · 974 Bytes
/
.eslintrc-cc.json
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
{
"root": true,
"parser": "babel-eslint",
"extends": ["plugin:react-hooks/recommended", "plugin:react/recommended"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true,
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": false,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"restParams": true
}
},
"plugins": ["react", "import", "react-hooks"],
"env": {
"browser": true,
"es6": true
},
"settings": {
"react": {
"version": "detect"
}
}
}