pipipi-pikachu 5 лет назад
Родитель
Сommit
fa77755c8c
1 измененных файлов с 3 добавлено и 3 удалено
  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: [
     {