From 8b35116fd7508375eb4cea0b82199bc9e4e92e52 Mon Sep 17 00:00:00 2001
From: Dan Abramov <dan.abramov@gmail.com>
Date: Sat, 17 Sep 2016 23:08:12 +0300
Subject: [PATCH] Promote no-undef to be treated as an error

Fixes #498
---
 config/eslint.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/eslint.js b/config/eslint.js
index d83c66a85..82b92ce5a 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',
-- 
GitLab