diff --git a/config/eslint.js b/config/eslint.js
index ce78a72e72ed4d2cd275723790b75b05ad3ae6b0..a7c955dbea52f8a6f98fdb542f91d87e8833ed14 100644
--- a/config/eslint.js
+++ b/config/eslint.js
@@ -126,7 +126,7 @@ module.exports = {
     'no-template-curly-in-string': 'warn',
     'no-this-before-super': 'warn',
     'no-throw-literal': 'warn',
-    'no-undef': 'warn',
+    'no-undef': 'error',
     'no-unexpected-multiline': 'warn',
     'no-unreachable': 'warn',
     'no-unused-expressions': 'warn',