From 5380e8c570f428251bffc4c3ee859f1eb94c010f Mon Sep 17 00:00:00 2001 From: Graham Fairweather Date: Mon, 26 Feb 2018 08:23:15 +0100 Subject: [PATCH] Fix: CommonJS global variables and CommonJS scoping (use this for browser-only code that uses Browserify/WebPack). --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 3bc3fd34..6a16c104 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -9,6 +9,7 @@ }, "env": { "browser": true, + "commonjs": true, "es6": true }, "extends": "eslint:recommended",