更新 ESLint 配置,支持 TypeScript 和 TSX 脚本语言

This commit is contained in:
严浩
2024-10-11 18:18:39 +08:00
parent 078cb2c0e9
commit 7f7961449a

View File

@@ -27,7 +27,12 @@ export default [
},
...pluginVue.configs['flat/essential'],
...vueTsEslintConfig(),
...vueTsEslintConfig({
supportedScriptLangs: {
ts: true,
tsx: true,
}
}),
{
...pluginVitest.configs.recommended,