Skip to content

Commit

Permalink
Add Nav block files to those triggering error for exhaustive deps (#4…
Browse files Browse the repository at this point in the history
…8821)

* Add Nav block files to those triggering error for exhaustive deps

* Correct spelling

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

---------

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>
  • Loading branch information
getdave and tyxla authored Mar 7, 2023
1 parent 54d43c4 commit 49c518c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,12 @@ module.exports = {
},
},
{
files: [ 'packages/components/src/**/*.[tj]s?(x)' ],
files: [
// Components package.
'packages/components/src/**/*.[tj]s?(x)',
// Navigation block.
'packages/block-library/src/navigation/**/*.[tj]s?(x)',
],
excludedFiles: [ ...developmentFiles ],
rules: {
'react-hooks/exhaustive-deps': 'error',
Expand Down

0 comments on commit 49c518c

Please sign in to comment.