Commit 92a061b43a430b9f3f64166df627fb79e74e3846

Authored by ww
1 parent 3aa5b0f1

perf: 新增eslint规则限制提交console语句

Showing 1 changed file with 1 additions and 0 deletions
@@ -25,6 +25,7 @@ module.exports = defineConfig({ @@ -25,6 +25,7 @@ module.exports = defineConfig({
25 'plugin:jest/recommended', 25 'plugin:jest/recommended',
26 ], 26 ],
27 rules: { 27 rules: {
  28 + 'no-console': 'error',
28 'vue/script-setup-uses-vars': 'error', 29 'vue/script-setup-uses-vars': 'error',
29 '@typescript-eslint/ban-ts-ignore': 'off', 30 '@typescript-eslint/ban-ts-ignore': 'off',
30 '@typescript-eslint/explicit-function-return-type': 'off', 31 '@typescript-eslint/explicit-function-return-type': 'off',