From 6ee3d9d7abab0458819c3054377ad3e2bf22c0a1 Mon Sep 17 00:00:00 2001 From: lukaszblacha Date: Mon, 30 May 2016 15:18:43 +0200 Subject: [PATCH 1/2] add __NODE__ to eslint globals --- template/.eslintrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/template/.eslintrc b/template/.eslintrc index d6279c6..e35e403 100644 --- a/template/.eslintrc +++ b/template/.eslintrc @@ -1,4 +1,7 @@ { "extends": "airbnb", - "parser": "babel-eslint" + "parser": "babel-eslint", + "globals": { + "__NODE__": true + } } From 3e8dd76a2bac45311652b31187ffcecedd3360ee Mon Sep 17 00:00:00 2001 From: lukaszblacha Date: Tue, 31 May 2016 18:54:16 +0200 Subject: [PATCH 2/2] Update .eslintrc --- template/.eslintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template/.eslintrc b/template/.eslintrc index e35e403..c3a9f7b 100644 --- a/template/.eslintrc +++ b/template/.eslintrc @@ -2,6 +2,7 @@ "extends": "airbnb", "parser": "babel-eslint", "globals": { - "__NODE__": true + "__NODE__": true, + "__WEB__": true } }