📅  最后修改于: 2022-03-11 14:48:32.598000             🧑  作者: Mango
{
// ...
overrides: [
{
files: ['*.ts', '*.tsx'], // Your TypeScript files extension
parserOptions: {
project: ['./tsconfig.json'], // Specify it only for TypeScript files
},
}
],
parser: '@typescript-eslint/parser',
// ...
}