-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
28 lines (28 loc) · 842 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
{
"env" : {"jest":true},
"extends": "airbnb",
"rules": {
"arrow-body-style": ["off"],
"arrow-parens": ["warn", "as-needed", { "requireForBlockBody": true }],
"max-classes-per-file": 0,
"max-len": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"one-var": 0,
"one-var-declaration-per-line": 0,
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 10 }],
"no-return-assign": ["error", "except-parens"],
"no-unused-vars": ["error", { "args": "none" }],
"object-curly-newline": ["error", { "minProperties": 0, "consistent": true }],
"jsx-a11y/label-has-associated-control": [ "error", {
"required": {
"some": [ "nesting", "id" ]
}
}],
"jsx-a11y/label-has-for": [ "error", {
"required": {
"some": [ "nesting", "id" ]
}
}]
}
}