更新 ESLint 配置,支持 TypeScript 和 TSX 脚本语言
This commit is contained in:
@ -27,7 +27,12 @@ export default [
|
|||||||
},
|
},
|
||||||
|
|
||||||
...pluginVue.configs['flat/essential'],
|
...pluginVue.configs['flat/essential'],
|
||||||
...vueTsEslintConfig(),
|
...vueTsEslintConfig({
|
||||||
|
supportedScriptLangs: {
|
||||||
|
ts: true,
|
||||||
|
tsx: true,
|
||||||
|
}
|
||||||
|
}),
|
||||||
|
|
||||||
{
|
{
|
||||||
...pluginVitest.configs.recommended,
|
...pluginVitest.configs.recommended,
|
||||||
|
Reference in New Issue
Block a user