Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/mq4-hover-shim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <chris.rebert@hulu.com>2015-01-19 07:44:23 +0300
committerChris Rebert <chris.rebert@hulu.com>2015-01-19 07:44:23 +0300
commit8aa0ebc3670f22b66b79dcb296f5ab9cb0cf51e8 (patch)
tree355e89389064bbfd36a8ec20cbfbdf3d5894657e
parentd9d5917ee26bc5d89edac73a8379fa2cb528c498 (diff)
fix enabling of JSCS's ES6 mode
-rw-r--r--.jscsrc1
-rw-r--r--Gruntfile.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/.jscsrc b/.jscsrc
index db99a77..3079568 100644
--- a/.jscsrc
+++ b/.jscsrc
@@ -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 %>'
},