Skip to content

Commit

Permalink
Disable role linting in Routes (#2318)
Browse files Browse the repository at this point in the history
* fix: disable role linting in Routes

* fix: use ignoreNonDom instead

Co-authored-by: Daniel Choudhury <dannychoudhury@gmail.com>
  • Loading branch information
jtoar and dac09 committed Apr 20, 2021
1 parent 4f6ab5f commit 293c99d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ module.exports = {
rules: {
'no-undef': 'off',
'@redwoodjs/redwood/no-unavailable-pages': 'error',
'jsx-a11y/aria-role': [
2,
{
ignoreNonDOM: true,
},
],
},
},
// `api` side
Expand Down

0 comments on commit 293c99d

Please sign in to comment.