@@ -12,20 +12,17 @@ module.exports = {
12
12
'jsx-a11y/aria-role' : 2 ,
13
13
14
14
// Enforce all aria-* props are valid.
15
- // TODO: enable
16
15
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-props.md
17
- 'jsx-a11y/aria-props' : 0 ,
16
+ 'jsx-a11y/aria-props' : 2 ,
18
17
19
18
// Enforce ARIA state and property values are valid.
20
- // TODO: enable
21
19
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-proptypes.md
22
- 'jsx-a11y/aria-proptypes' : 0 ,
20
+ 'jsx-a11y/aria-proptypes' : 2 ,
23
21
24
22
// Enforce that elements that do not support ARIA roles, states, and
25
23
// properties do not have those attributes.
26
- // TODO: enable
27
24
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-unsupported-elements.md
28
- 'jsx-a11y/aria-unsupported-elements' : 0 ,
25
+ 'jsx-a11y/aria-unsupported-elements' : 2 ,
29
26
30
27
// disallow href "#"
31
28
// TODO: enable
@@ -69,15 +66,13 @@ module.exports = {
69
66
70
67
// Enforce that elements with ARIA roles must have all required attributes
71
68
// for that role.
72
- // TODO: enable
73
69
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-has-required-aria-props.md
74
- 'jsx-a11y/role-has-required-aria-props' : 0 ,
70
+ 'jsx-a11y/role-has-required-aria-props' : 2 ,
75
71
76
72
// Enforce that elements with explicit or implicit roles defined contain
77
73
// only aria-* properties supported by that role.
78
- // TODO: enable
79
74
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-supports-aria-props.md
80
- 'jsx-a11y/role-supports-aria-props' : 0 ,
75
+ 'jsx-a11y/role-supports-aria-props' : 2 ,
81
76
82
77
// Enforce tabIndex value is not greater than zero.
83
78
// TODO: evaluate
0 commit comments