diff --git a/.eslintrc.js b/.eslintrc.js index bb223a9b05..6a7aba5cae 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -10,7 +10,6 @@ module.exports = { project: [ 'packages/tsconfig.json', 'packages/tsconfig_base.json', - 'tests/tsconfig.eslint.json', 'tsconfig.eslint.json', ], }, @@ -45,8 +44,7 @@ module.exports = { '**/test/**/*.tsx', '**/tests/**/*.ts', '**/tests/**/*.tsx', - 'sewing-kit.config.ts', - 'config/sewing-kit/**/*', + '**/sewing-kit.config.ts', ], rules: { // We disable `import/no-extraneous-dependencies` for test files because it diff --git a/tests/tsconfig.eslint.json b/tests/tsconfig.eslint.json deleted file mode 100644 index 4fca01f5d9..0000000000 --- a/tests/tsconfig.eslint.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../packages/tsconfig_base.json", - "compilerOptions": { - "noEmit": true - }, - "include": ["./**/*.ts"] -} diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index bb2210b9fc..fe85b65244 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -3,5 +3,5 @@ "compilerOptions": { "noEmit": true }, - "files": ["./sewing-kit.config.ts", "./config/sewing-kit/index.ts"] + "include": ["./sewing-kit.config.ts", "./config", "./tests"] }