fix(ts): fix parerOptions (#134)
This commit is contained in:
parent
40817389a1
commit
3486d0d6c0
@ -19,11 +19,11 @@ module.exports = {
|
|||||||
: [{
|
: [{
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
tsconfigRootDir: process.cwd(),
|
tsconfigRootDir: process.cwd(),
|
||||||
project: ['tsconfig.json'],
|
project: ['tsconfig.eslint.json'],
|
||||||
},
|
},
|
||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
excludedFiles: ['**/*.md/*.*'],
|
excludedFiles: ['**/*.md/*.*'],
|
||||||
files: ['*.ts', '*.tsx'],
|
files: ['*.ts', '*.tsx', '*.mts', '*.cts'],
|
||||||
rules: {
|
rules: {
|
||||||
'no-throw-literal': 'off',
|
'no-throw-literal': 'off',
|
||||||
'@typescript-eslint/no-throw-literal': 'error',
|
'@typescript-eslint/no-throw-literal': 'error',
|
||||||
|
Loading…
Reference in New Issue
Block a user