Skip to content

Commit

Permalink
fix(ts): fix parerOptions (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Nov 30, 2022
1 parent 4081738 commit 3486d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/typescript/index.js
Expand Up @@ -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',
Expand Down

0 comments on commit 3486d0d

Please sign in to comment.