Some checks failed
continuous-integration/drone/push Build is failing
更新内容: - 后端 AI 服务优化(能力分析、知识点解析等) - 前端考试和陪练界面更新 - 修复多个 prompt 和 JSON 解析问题 - 更新 Coze 语音客户端
24 lines
550 B
JavaScript
24 lines
550 B
JavaScript
/* 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'
|
|
}
|
|
}
|
|
|