diff --git a/.eslintrc.js b/.eslintrc.js index 726fad84c3222d..9fe494e902e61f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -255,7 +255,7 @@ module.exports = { }, // Files used for generating TypeScript declaration files (#ts-source-files) { - files: ['**/packages/**/src/**/*.tsx'], + files: ['packages/*/src/**/*.tsx'], excludedFiles: '*.spec.tsx', rules: { 'no-restricted-imports': [