Explorar o código

chore: 修改ESLint配置

pipipi-pikachu %!s(int64=5) %!d(string=hai) anos
pai
achega
fa77755c8c
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      .eslintrc.js

+ 3 - 3
.eslintrc.js

@@ -63,9 +63,9 @@ module.exports = {
     'no-eval': 'error',
     'no-var': 'error',
     'no-with': 'error',
-    'no-alert': isProduction ? 'warn' : 'off',
-    'no-console': isProduction ? 'warn' : 'off',
-    'no-debugger': isProduction ? 'warn' : 'off',
+    'no-alert': isProduction ? 'error' : 'warn',
+    'no-console': isProduction ? 'error' : 'warn',
+    'no-debugger': isProduction ? 'error' : 'warn',
   },
   overrides: [
     {