Commit eba67a3623c4dc7c0e120c88339a2674c9fb0220
Merge branch 'perf/format-code' into 'main_dev'
perf: 新增eslint规则限制提交console语句 See merge request yunteng/thingskit-front!916
Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -25,6 +25,7 @@ module.exports = defineConfig({ |
25 | 25 | 'plugin:jest/recommended', |
26 | 26 | ], |
27 | 27 | rules: { |
28 | + 'no-console': 'error', | |
28 | 29 | 'vue/script-setup-uses-vars': 'error', |
29 | 30 | '@typescript-eslint/ban-ts-ignore': 'off', |
30 | 31 | '@typescript-eslint/explicit-function-return-type': 'off', | ... | ... |