diff options
author | Chris Rebert <chris.rebert@hulu.com> | 2015-01-19 07:44:23 +0300 |
---|---|---|
committer | Chris Rebert <chris.rebert@hulu.com> | 2015-01-19 07:44:23 +0300 |
commit | 8aa0ebc3670f22b66b79dcb296f5ab9cb0cf51e8 (patch) | |
tree | 355e89389064bbfd36a8ec20cbfbdf3d5894657e | |
parent | d9d5917ee26bc5d89edac73a8379fa2cb528c498 (diff) |
fix enabling of JSCS's ES6 mode
-rw-r--r-- | .jscsrc | 1 | ||||
-rw-r--r-- | Gruntfile.js | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,6 @@ "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "disallowSpacesInCallExpression": true, "disallowTrailingWhitespace": true, - "esnext": true, "requireCapitalizedConstructors": true, "requireCommaBeforeLineBreak": true, "requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"], diff --git a/Gruntfile.js b/Gruntfile.js index 52c0a25..9a59673 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -56,6 +56,9 @@ module.exports = function (grunt) { } }, jscs: { + options: { + esnext: true + }, gruntfile: { src: '<%= jshint.gruntfile.src %>' }, |