更新内容: - 后端 AI 服务优化(能力分析、知识点解析等) - 前端考试和陪练界面更新 - 修复多个 prompt 和 JSON 解析问题 - 更新 Coze 语音客户端
This commit is contained in:
23
admin-frontend/.eslintrc.cjs
Normal file
23
admin-frontend/.eslintrc.cjs
Normal file
@@ -0,0 +1,23 @@
|
||||
/* eslint-env node */
|
||||
require('@rushstack/eslint-patch/modern-module-resolution')
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: [
|
||||
'plugin:vue/vue3-recommended',
|
||||
'eslint:recommended',
|
||||
'@vue/eslint-config-typescript'
|
||||
],
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest'
|
||||
},
|
||||
rules: {
|
||||
// Vue 组件命名规范
|
||||
'vue/multi-word-component-names': 'off',
|
||||
// 允许使用 any 类型(逐步改进)
|
||||
'@typescript-eslint/no-explicit-any': 'warn',
|
||||
// 未使用变量警告
|
||||
'@typescript-eslint/no-unused-vars': 'warn'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user