From feae8f05d4eb712bb85020c8b8bc227fade495c5 Mon Sep 17 00:00:00 2001 From: Dan Abramov <dan.abramov@gmail.com> Date: Sat, 17 Sep 2016 23:08:58 +0300 Subject: [PATCH] Promote no-undef to be treated as an error (#669) Fixes #498 --- config/eslint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/eslint.js b/config/eslint.js index ce78a72e7..a7c955dbe 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