Ejegg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/194389

Change subject: Lint all js except node_modules and bower_modules
......................................................................

Lint all js except node_modules and bower_modules

Yes, even the node bits that run server side.  This should match
better the linting that Jenkins does.

Change-Id: Ia1968364862042c923de0964f7657d8cb34c85ca
---
M gulpfile.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/dash 
refs/changes/89/194389/1

diff --git a/gulpfile.js b/gulpfile.js
index 317ec74..df61593 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -51,7 +51,7 @@
         }
     });
 
-var jsfilesToLint = ['src/app/*.js', 'src/components/*/*.js'];
+var jsfilesToLint = ['**/*.js', '!node_modules/**/*.js', 
'!src/bower_modules/**/*.js'];
 
 // linting
 gulp.task('lint', function () {

-- 
To view, visit https://gerrit.wikimedia.org/r/194389
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1968364862042c923de0964f7657d8cb34c85ca
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/dash
Gerrit-Branch: master
Gerrit-Owner: Ejegg <eeggles...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to