forked from instructure/instructure-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
55 lines (55 loc) · 1.36 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
{
"plugins": [
"jsx-a11y",
"mocha"
],
"parser": "babel-eslint",
"rules": {
"mocha/no-exclusive-tests": "error",
"jsx-a11y/anchor-has-content": 2,
"jsx-a11y/aria-props": 2,
"jsx-a11y/aria-proptypes": 2,
"jsx-a11y/aria-role": 2,
"jsx-a11y/aria-unsupported-elements": 2,
"jsx-a11y/click-events-have-key-events": 2,
"jsx-a11y/heading-has-content": 2,
"jsx-a11y/href-no-hash": 2,
"jsx-a11y/label-has-for": 2,
"jsx-a11y/mouse-events-have-key-events": 2,
"jsx-a11y/no-access-key": 2,
"jsx-a11y/no-marquee": 2,
"jsx-a11y/no-onchange": 2,
"jsx-a11y/onclick-has-focus": 2,
"jsx-a11y/onclick-has-role": 2,
"jsx-a11y/role-has-required-aria-props": 2,
"jsx-a11y/role-supports-aria-props": 2,
"jsx-a11y/scope": 2,
"jsx-a11y/tabindex-no-positive": 2,
"max-len": [2, 120, 2],
"jsx-quotes": [2, "prefer-double"],
"react/jsx-no-bind": [2, {
"ignoreRefs": true
}],
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true,
"mode": "minimum"
}],
"no-var": 2,
"prefer-const": 2,
"no-param-reassign": 2,
"no-console": 2,
"no-useless-escape": 0
},
"env": {
"browser": true,
"mocha": true,
"es6": true
},
"globals": {
"expect": true,
"sinon": true,
"Testbed": true
},
"extends": ["standard", "standard-react"]
}