-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
34 lines (34 loc) · 950 Bytes
/
.eslintrc.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
{
"env": {
"browser": true,
"es2020": true,
"jest": true
},
"extends": ["plugin:react/recommended", "airbnb"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 11,
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"linebreak-style": "off",
"operator-linebreak": "off", // prettier
"implicit-arrow-linebreak": "off", // prettier
"object-curly-newline": "off", // prettier
"react/jsx-props-no-spreading": "off",
"indent": "off", // prettier
"import/prefer-default-export": "off",
"global-require": "warn",
"import/no-extraneous-dependencies": "warn",
"react/forbid-prop-types": "off",
"react/require-default-props": "off",
"react/jsx-indent": "off", // prettier
"function-paren-newline": "warn",
"react/no-array-index-key": "off",
"func-names": "off",
"react/jsx-one-expression-per-line": "off" // prettier
}
}