aboutsummaryrefslogtreecommitdiffstats
path: root/web/gulpfile.js
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-09-16 00:56:43 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-09-16 00:56:43 +0200
commit674bc4273e9a2f1a2e41ef977a80219423c7cb51 (patch)
treeb343902da8a0de10f075c46c75f8ad135bc23192 /web/gulpfile.js
parentacdd182754625fabcfc2c6ed4bdad8a63bce8ad6 (diff)
downloadmitmproxy-674bc4273e9a2f1a2e41ef977a80219423c7cb51.tar.gz
mitmproxy-674bc4273e9a2f1a2e41ef977a80219423c7cb51.tar.bz2
mitmproxy-674bc4273e9a2f1a2e41ef977a80219423c7cb51.zip
format javascript
Diffstat (limited to 'web/gulpfile.js')
-rw-r--r--web/gulpfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/gulpfile.js b/web/gulpfile.js
index 3aebcd95..6f72016b 100644
--- a/web/gulpfile.js
+++ b/web/gulpfile.js
@@ -98,7 +98,7 @@ gulp.task("scripts-prod", ["scripts-app-prod", "scripts-vendor-prod"]);
gulp.task("jshint", function () {
return gulp.src(["src/js/**"])
.pipe(dont_break_on_errors())
- .pipe(react({harmony: true}))
+ .pipe(react({harmony: false /* Do not do Harmony transformation for JSHint */}))
.pipe(jshint())
.pipe(jshint.reporter("jshint-stylish"))
});