-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.json
More file actions
37 lines (37 loc) · 1.01 KB
/
Copy path.eslintrc.json
File metadata and controls
37 lines (37 loc) · 1.01 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
{
"extends": [
"react-app",
"airbnb",
"react-app/jest",
"plugin:prettier/recommended"
],
"plugins": ["prettier"],
"rules": {
"semi": "warn",
"no-unused-vars": "warn",
"no-unused-expressions": "warn",
"react/react-in-jsx-scope": "off",
"spaced-comment": 0,
"react/jsx-props-no-spreading": 0,
"import/order": 0,
"react/prop-types": 0,
"no-use-before-define": "warn",
"react/no-array-index-key": 0,
"react/jsx-no-bind": "off",
/* "no-shadow": "warn",
"react/destructuring-assignment": "warn",
"no-param-reassign": "warn",
"no-restricted-syntax": "warn",
"react/jsx-props-no-spreading": 0,
"no-console": 0,
"spaced-comment": 0,
"radix": 0,
"allowTernary": 0,
"react/jsx-uses-react": "off",
"default-param-last": "off",
"react/react-in-jsx-scope": "off",
"react/no-unstable-nested-components": "off", */
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"prettier/prettier": "error"
}
}