From 582e9e83d7c0bcebf830128a64ca9f8345b6af58 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Tue, 21 Apr 2015 14:27:26 +0200 Subject: [PATCH] coffee-lint ignore test files --- gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index cd04413e..f601bbfb 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -298,7 +298,10 @@ gulp.task("locales", function() { }); gulp.task("coffee-lint", function () { - gulp.src(paths.app + "modules/**/*.coffee") + gulp.src([ + paths.app + "modules/**/*.coffee", + "!" + paths.app + "modules/**/*.spec.coffee" + ]) .pipe(gulpif(!isDeploy, cache(coffeelint(), { key: function(lintFile) { return "coffee-lint" + lintFile.contents.toString('utf8');