From ed099a646947178d5895994f77eb642c31f14b33 Mon Sep 17 00:00:00 2001 From: Kagami Hiiragi Date: Sat, 28 Feb 2015 22:45:04 +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()`