mirror of https://github.com/fantasticit/think.git
chore: fix eslint config
This commit is contained in:
parent
82446482c7
commit
e3fd5efb49
|
@ -12,6 +12,7 @@ module.exports = {
|
||||||
files: ['*.ts', '*.tsx', '.js', '.jsx'],
|
files: ['*.ts', '*.tsx', '.js', '.jsx'],
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
project: ['./tsconfig.json'],
|
project: ['./tsconfig.json'],
|
||||||
|
tsconfigRootDir: __dirname,
|
||||||
sourceType: 'module',
|
sourceType: 'module',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,6 +8,7 @@ module.exports = {
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
project: ['./tsconfig.json'],
|
project: ['./tsconfig.json'],
|
||||||
sourceType: 'module',
|
sourceType: 'module',
|
||||||
|
tsconfigRootDir: __dirname,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue