Skip to content

Commit

Permalink
chore: 修改 eslint 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrongding committed Dec 6, 2023
1 parent b13ccd0 commit dce745f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
// 添加vue和@typescript-eslint插件,增强eslint的能力
plugins: ['vue', '@typescript-eslint'],
rules: {
'no-console': 2, //
'no-console': ['error', { allow: ['warn', 'error'] }], // 禁止提交 log
'import/no-extraneous-dependencies': 0, // 禁止使用无关的包
'import/no-unresolved': 0, // 关闭检查未解析的模块
'vue/multi-word-component-names': 0, // 禁止使用多单词组件名
Expand Down

1 comment on commit dce745f

@vercel
Copy link

@vercel vercel bot commented on dce745f Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.