diff --git a/.eslintrc.js b/.eslintrc.js index b8012f2686cbb8..d5deabd83e0c52 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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',