Skip to content

Commit

Permalink
chore(fe): fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
huccct committed Jul 11, 2024
1 parent f09a4ac commit c9ffae4
Show file tree
Hide file tree
Showing 6 changed files with 3,423 additions and 2,912 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = {
*/
rules: {
// eslint(https://eslint.bootcss.com/docs/rules/)
'@typescript-eslint/ban-ts-comment': 'off',
'no-var': 'error', // 要求使用 let 或 const 而不是 var
'no-multiple-empty-lines': ['warn', { max: 1 }], // 不允许多个空行
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
Expand All @@ -55,4 +56,4 @@ module.exports = {
'vue/no-mutating-props': 'off', // 不允许组件 prop的改变
'vue/attribute-hyphenation': 'off', // 对模板中的自定义组件强制执行属性命名样式
},
};
}
Loading

0 comments on commit c9ffae4

Please sign in to comment.