-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
93 lines (93 loc) · 2.54 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
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
83
84
85
86
87
88
89
90
91
92
93
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": ["react", "jsx-a11y", "import"],
"env": {
"browser": true,
"node": true
},
"rules": {
"no-unused-prop-types": 0,
"react/jsx-no-bind": [1, {
"ignoreRefs": false,
"allowArrowFunctions": false,
"allowBind": false
}],
"nonblock-statement-body-position": 0,
"lines-between-class-members": 0,
"react/button-has-type": 0,
"react/jsx-one-expression-per-line": 0,
"react/destructuring-assignment": 0,
"jsx-a11y/no-static-element-interactions": 1,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/label-has-associated-control": 0,
"prefer-promise-reject-errors": 0,
"curly": 0,
"prefer-destructuring": 0,
"no-multi-str": 0,
"no-cond-assign": 0,
"no-throw-literal": 0,
"object-curly-newline": 0,
"object-property-newline": 0,
"guard-for-in": 0,
"no-bitwise": 0,
"import/prefer-default-export": 0,
"arrow-parens": 0,
"react/no-array-index-key": 0,
"react/jsx-first-prop-new-line": 0,
"react/jsx-max-props-per-line": 0,
"react/prop-types": 0,
"global-require": 0,
"import/newline-after-import": 0,
"react/jsx-filename-extension": 0,
"react/jsx-tag-spacing": 0,
"react/forbid-prop-types": 0,
"no-underscore-dangle": 0,
"react/sort-comp": [1, {
"order": [
"lifecycle",
"everything-else",
"static-methods",
"render"
]
}],
"indent": [
"error",
2,
{
"MemberExpression": 0,
"VariableDeclarator": { "var": 2, "let": 2, "const": 3 },
"SwitchCase": 1
}
],
"array-bracket-spacing": 0,
"padded-blocks": 0,
"react/require-default-props": 0,
"react/no-multi-comp": 0,
"react/jsx-closing-bracket-location": 0,
"one-var": 0,
"no-param-reassign": 0,
"max-len": [ 2, { "code": 120 }],
"no-console": 0,
"no-continue": 0,
"no-trailing-spaces": [2, { "skipBlankLines": true, "ignoreComments": false }],
"import/no-mutable-exports": 0,
"no-restricted-syntax": 0,
"no-case-declarations": 0,
"camelcase": 0,
"no-plusplus": 0,
"no-class-assign": 0,
"prefer-const": 1,
"react/no-unescaped-entities": 0,
"no-else-return": 0,
"no-unused-expressions": 1,
"react/jsx-pascal-case": 0,
"no-unused-vars": 1,
"no-confusing-arrow": 0,
"no-prototype-builtins": 0,
"linebreak-style": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/label-has-for": 0,
"react/no-did-update-set-state": 1
}
}