-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.eslintrc.json
More file actions
41 lines (41 loc) · 1.08 KB
/
.eslintrc.json
File metadata and controls
41 lines (41 loc) · 1.08 KB
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
{
"parser": "@babel/eslint-parser",
"env": {
"browser": true,
"es6": true
},
"extends": [
"react-app",
"eslint:recommended",
"plugin:react/recommended",
"plugin:prettier/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"react/jsx-filename-extension": "off",
"react/destructuring-assignment": "off",
"no-shadow": "off",
"react/jsx-props-no-spreading": "off",
"import/prefer-default-export": "off",
"consistent-return": "off",
"react/jsx-fragments": "off",
"arrow-parens": "off",
"no-confusing-arrow": "off",
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": true }],
"react/display-name": "off",
"react-hooks/exhaustive-deps": "off"
}
}