forked from WikiEducationFoundation/WikiEduDashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
80 lines (80 loc) · 2.07 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
{
"root": true,
"extends": "airbnb",
"ecmaFeatures": {
"js": true,
"jsx": true,
"modules": true
},
"rules": {
"func-names": 0,
"comma-dangle": 0,
"consistent-return": 0,
"no-return-assign": 0,
"react/prefer-es6-class": 0,
"react/prefer-stateless-function": 0,
"react/jsx-boolean-value": 0,
"arrow-body-style": 0,
"max-len": 0,
"radix": [2, "as-needed"],
"no-param-reassign": 0,
"react/jsx-no-bind": 0,
"no-alert": 0,
"new-cap": [2, { "capIsNew": false }],
"no-use-before-define": 0,
# Rules below here should be enabled once violations are fixed.
"react/no-find-dom-node": 0,
"react/forbid-prop-types": 0,
"react/no-danger": 0,
"react/no-children-prop": 0,
"react/no-unused-prop-types": 0,
"react/no-unescaped-entities": 0,
"react/no-string-refs": 0,
"react/jsx-equals-spacing": 0,
"react/jsx-no-target-blank": 0,
"react/jsx-wrap-multilines": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/img-has-alt": 0,
"jsx-a11y/href-no-hash": 0,
"jsx-a11y/aria-role": 0,
"jsx-a11y/anchor-has-content": 0,
"import/first": 0,
"import/extensions": 0,
"import/newline-after-import": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"no-underscore-dangle": 0,
"arrow-parens": 0,
"no-undef": 0,
"no-lonely-if": 0,
"no-useless-return": 0,
"no-empty-pattern": 0,
"object-shorthand": 0,
"no-useless-computed-key": 0,
"newline-per-chained-call": 0,
"no-plusplus": 0,
"no-mixed-operators": 0,
"block-spacing": 0,
"class-methods-use-this": 0,
"brace-style": 0,
"prefer-spread": 0,
"no-prototype-builtins": 0,
"no-restricted-syntax": 0,
"space-unary-ops": 0,
"global-require": 0,
"quotes": 0
},
"globals": {
"$": true,
"jQuery": true,
"I18n": true,
"_": true,
"moment": true,
"Raven": true,
"SurveyDetails": true,
"Features": true,
"WikiLanguages": true,
"WikiProjects": true
}
}