From 6c5a9dcc353eeb8d68e041bc188cbd14db24fe94 Mon Sep 17 00:00:00 2001 From: Edi Amin Date: Sat, 26 May 2018 20:18:26 +0600 Subject: [PATCH] feat: Add no-undef rule --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 33079c9..0a794e6 100644 --- a/index.js +++ b/index.js @@ -95,6 +95,8 @@ module.exports = { 'space-unary-ops': ['error', { overrides: {'!': true}, }], + // Disallow Undeclared Variables + 'no-undef': 'error', // Legacy }, };