-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
61 lines (61 loc) · 1.81 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"extends": "airbnb",
"rules": {
"react/jsx-no-target-blank": 0,
"react/no-unescaped-entities": 0,
"no-useless-escape": 0,
"no-cond-assign": 0,
"no-console": 0,
"no-continue": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"react/no-array-index-key": 0,
"import/prefer-default-export": 0,
"import/extensions": 0,
"jsx-a11y/label-has-for": 0,
"guard-for-in": ["warn"],
"no-restricted-syntax": ["warn"],
"object-curly-newline": ["off"],
"padded-blocks": ["off"],
"react/jsx-closing-bracket-location": ["off"],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-space-before-closing": ["off"],
"react/prefer-stateless-function": ["off"],
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"react/jsx-no-bind": 0,
"react/no-multi-comp": 0,
"no-plusplus": 0,
"no-shadow": 0,
"react/sort-comp": ["warn"],
"class-methods-use-this": 0,
"linebreak-style": 0,
"function-paren-newline": ["off"],
"jsx-a11y/click-events-have-key-events": ["off"],
"jsx-a11y/no-static-element-interactions": ["off"],
"jsx-a11y/no-noninteractive-element-interactions": ["off"],
"jsx-a11y/anchor-is-valid": ["off"],
"import/no-named-as-default": ["off"],
"no-nested-ternary": 0,
"max-len": 0,
"array-callback-return": 0,
"no-use-before-define": 0,
"global-require": 0,
"arrow-body-style": 0,
"react/prop-types": 0,
"comma-dangle": 0,
"no-return-assign": 0,
"react/jsx-closing-tag-location": 0,
"react/forbid-prop-types": 0,
"jsx-a11y/accessible-emoji": 0
},
"globals": {
"testHelper": true,
"memoryDB": true
}
}