-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.yml
55 lines (55 loc) · 1.38 KB
/
.eslintrc.yml
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
extends: "standard"
plugins:
- standard
- react
- jsx-a11y
parserOptions:
ecmaFeatures:
jsx: true
parser: "babel-eslint"
rules:
no-tabs: 0
semi: 0
indent: 0
key-spacing: 1
no-multiple-empty-lines: 0
space-before-function-paren: 0
react/jsx-no-duplicate-props: 2
react/jsx-uses-vars: 2
react/jsx-no-undef: 2
react/jsx-uses-react: 2
react/jsx-indent-props:
- 2
- 2
react/no-deprecated: 2
react/no-direct-mutation-state: 2
react/no-find-dom-node: 2
react/no-is-mounted: 2
react/no-unknown-property: 2
react/react-in-jsx-scope: 2
react/require-render-return: 2
react/prefer-stateless-function: 2
##react/prop-types: 2
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/html-has-lang: 2
jsx-a11y/img-has-alt: 2
jsx-a11y/img-redundant-alt: 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/no-static-element-interactions: 1
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: 1