chore: fix eslint config

This commit is contained in:
fantasticit 2022-06-10 22:33:31 +08:00
parent 82446482c7
commit e3fd5efb49
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ module.exports = {
files: ['*.ts', '*.tsx', '.js', '.jsx'],
parserOptions: {
project: ['./tsconfig.json'],
tsconfigRootDir: __dirname,
sourceType: 'module',
},
},

View File

@ -8,6 +8,7 @@ module.exports = {
parserOptions: {
project: ['./tsconfig.json'],
sourceType: 'module',
tsconfigRootDir: __dirname,
},
},
],