Skip to content

Commit

Permalink
Add Nav block files to those triggering error for exhaustive deps
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Mar 7, 2023
1 parent 2266592 commit fcfcff8
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)',
// Navigaiton block.
'packages/block-library/src/navigation/**/*.[tj]s?(x)',
],
excludedFiles: [ ...developmentFiles ],
rules: {
'react-hooks/exhaustive-deps': 'error',
Expand Down

0 comments on commit fcfcff8

Please sign in to comment.