-
Notifications
You must be signed in to change notification settings - Fork 124
/
.eslintrc
31 lines (31 loc) · 984 Bytes
/
.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
{
"parser": "babel-eslint",
"extends": ["standard", "standard-react"],
"plugins": [
"jsx-a11y"
],
"rules": {
"jsx-a11y/aria-props": 2,
"jsx-a11y/aria-proptypes": 2,
"jsx-a11y/aria-role": 2,
"jsx-a11y/aria-unsupported-elements": 2,
"jsx-a11y/no-marquee": 2,
"jsx-a11y/label-has-for": 2,
"jsx-a11y/img-has-alt": 2,
"jsx-a11y/img-redundant-alt": 2,
"jsx-a11y/role-has-required-aria-props": 2,
"jsx-a11y/role-supports-aria-props": 2,
"jsx-a11y/heading-has-content": 2,
"jsx-a11y/href-no-hash": 2,
"no-console": [1, {"allow": ["warn", "error"]}],
"comma-dangle" : [0, "always-multiline"],
"semi": [2, "never"],
"no-extra-semi": 2,
"jsx-quotes": [2, "prefer-single"],
"react/jsx-boolean-value": [0, "always"],
"react/jsx-curly-spacing": [2, "never", {"allowMultiline": false}],
"react/jsx-max-props-per-line": [2, {"maximum": 4}],
"react/self-closing-comp": 2,
"react/sort-comp": 2
}
}