From 56d36ac15f317eecc246ce5584d52d083578912d Mon Sep 17 00:00:00 2001 From: Kagami Hiiragi Date: Mon, 2 Mar 2015 14:40:16 +0300 Subject: [PATCH] Fix for jshint 2.6.3 Global Promise now available only in esnext mode. --- .jshintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.jshintrc b/.jshintrc index dafdeb9..cf00a74 100644 --- a/.jshintrc +++ b/.jshintrc @@ -40,7 +40,7 @@ "debug" : false, // true: Allow debugger statements e.g. browser breakpoints. "eqnull" : true, // true: Tolerate use of `== null` "es5" : false, // true: Allow ES5 syntax (ex: getters and setters) - "esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`) + "esnext" : true, // true: Allow ES.next (ES6) syntax (ex: `const`) "moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features) // (ex: `for each`, multiple try/catch, function expression…) "evil" : false, // true: Tolerate use of `eval` and `new Function()`