-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
30 lines (30 loc) · 959 Bytes
/
.eslintrc
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
{
"extends": ["airbnb", "prettier"],
"rules": {
"react/destructuring-assignment": [
"error", {
"array": false,
"object": false
},
{
"enforceForRenamedProperties": false
}
],
"import/order": "off",
"react/jsx-filename-extension": [1, {"extensions": [".js", ".jsx"]}],
"react/jsx-one-expression-per-line": "off",
"react/jsx-wrap-multilines": "off",
"react/prop-types": 0,
"comma-dangle": ["error", "always-multiline"],
"no-param-reassign": "off",
"import/prefer-default-export": "off",
"no-console": "off",
"no-throw-literal": "off",
"no-use-before-define": "off",
"no-underscore-dangle": "off",
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"max-len": [1, 180, 2, {"ignoreUrls": true}],
"react/jsx-closing-bracket-location": [1, "after-props"],
"react/jsx-indent" : [2, 2, {"indentLogicalExpressions": true}],
}
}