From b84bb469e50f49f8e8c3947ac6b323a1ddab2fc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Thu, 25 May 2017 11:26:04 +0200 Subject: [PATCH] Allow es6 syntax --- .jshintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.jshintrc b/.jshintrc index 00a59a27..fbc4c96e 100644 --- a/.jshintrc +++ b/.jshintrc @@ -40,7 +40,7 @@ "debug" : false, // true: Allow debugger statements e.g. browser breakpoints. // "eqnull" : false, // 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()`