更新 ESLint 配置,支持 TypeScript 和 TSX 脚本语言
All checks were successful
/ depcheck (push) Successful in 1m46s
CI / build-and-deploy (push) Successful in 5m1s

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'], ...pluginVue.configs['flat/essential'],
...vueTsEslintConfig(), ...vueTsEslintConfig({
supportedScriptLangs: {
ts: true,
tsx: true,
}
}),
{ {
...pluginVitest.configs.recommended, ...pluginVitest.configs.recommended,