-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
47 lines (47 loc) · 1.39 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"extends": "airbnb",
"env": {
"browser": true,
"jest": true
},
"parser": "@babel/eslint-parser",
"rules": {
"class-methods-use-this": 0,
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"import/order": 0,
"indent": ["error", "tab", { "SwitchCase": 1 }],
"jsx-a11y/control-has-associated-label": 0,
"jsx-a11y/heading-has-content": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/media-has-caption": 0,
"jsx-a11y/no-autofocus": 0,
"max-len": ["error", { "code": 150 }],
"no-param-reassign": 0,
"no-tabs": 0,
"object-curly-newline": ["error", { "multiline": true, "consistent": true }],
"prefer-destructuring": 0,
"react/destructuring-assignment": 0,
"react/forbid-prop-types": 0,
"react/function-component-definition": 0,
"react/jsx-filename-extension": 0,
"react/jsx-indent-props": ["error", "tab"],
"react/jsx-indent": ["error", "tab"],
"react/jsx-props-no-spreading": 0,
"react/no-unstable-nested-components": 0,
"react/state-in-constructor": ["error", "never"],
"react/static-property-placement": ["error", "static public field"],
"sort-imports": ["error", { "ignoreCase": true }]
},
"globals": {
"before": "readonly",
"cy": "readonly",
"Cypress": "readonly"
}
}