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