fix(ts): fix parerOptions (#134)
This commit is contained in:
parent
40817389a1
commit
3486d0d6c0
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user