diff --git a/packages/typescript/index.js b/packages/typescript/index.js index b14c360f9e..d9461aa1ef 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -19,11 +19,11 @@ module.exports = { : [{ parserOptions: { tsconfigRootDir: process.cwd(), - project: ['tsconfig.json'], + project: ['tsconfig.eslint.json'], }, parser: '@typescript-eslint/parser', excludedFiles: ['**/*.md/*.*'], - files: ['*.ts', '*.tsx'], + files: ['*.ts', '*.tsx', '*.mts', '*.cts'], rules: { 'no-throw-literal': 'off', '@typescript-eslint/no-throw-literal': 'error',