-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
82 lines (82 loc) · 2.27 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": false
},
"extends": ["airbnb", "prettier", "plugin:compat/recommended"],
"env": {
"browser": true,
"jest": true
},
"rules": {
"import/prefer-default-export": ["off"],
"import/no-unresolved": ["off"],
"import/no-extraneous-dependencies": ["off"],
"import/extensions": ["off"],
"react/forbid-prop-types": ["off"],
"react/jsx-filename-extension": ["warn", { "extensions": [".js"] }],
"react/jsx-no-bind": ["off"],
"react/prop-types": ["off"],
"react/jsx-one-expression-per-line": ["off"],
"react/prefer-stateless-function": ["off"],
"react/jsx-wrap-multilines": [
"error",
{
"declaration": "parens-new-line",
"assignment": "parens-new-line",
"return": "parens-new-line",
"arrow": "parens-new-line",
"condition": "parens-new-line",
"logical": "parens-new-line",
"prop": "ignore"
}
],
"jsx-a11y/no-static-element-interactions": ["off"],
"jsx-a11y/no-noninteractive-element-interactions": ["off"],
"jsx-a11y/click-events-have-key-events": ["off"],
"jsx-a11y/anchor-is-valid": ["off"],
"jsx-a11y/label-has-associated-control": [
"error",
{
"required": {
"some": ["nesting", "id"]
}
}
],
"jsx-a11y/label-has-for": [
"error",
{
"required": {
"some": ["nesting", "id"]
}
}
],
"compat/compat": "error",
"generator-star-spacing": ["off"],
"consistent-return": ["off"],
"global-require": ["warn"],
"no-else-return": ["off"],
"no-restricted-syntax": ["off"],
"no-use-before-define": ["off"],
"no-nested-ternary": ["off"],
"arrow-body-style": ["off"],
"no-bitwise": ["off"],
"no-cond-assign": ["off"],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}
],
"object-curly-newline": ["off"],
"function-paren-newline": ["off"],
"no-restricted-globals": ["off"],
"require-yield": ["warn"]
}
}