Skip to content

Commit

Permalink
ESLint Config: Adds some more basic a11y rules (#25770)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe committed Jul 27, 2021
1 parent 4172a4c commit 26105e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-config-next/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ module.exports = {
img: ['Image'],
},
],
'jsx-a11y/aria-props': 'warn',
'jsx-a11y/aria-proptypes': 'warn',
'jsx-a11y/aria-unsupported-elements': 'warn',
'jsx-a11y/role-has-required-aria-props': 'warn',
'jsx-a11y/role-supports-aria-props': 'warn',
},
parser: './parser.js',
parserOptions: {
Expand Down

0 comments on commit 26105e2

Please sign in to comment.