Jforrester has uploaded a new change for review.

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

Change subject: Use new banana checker as a linter to avoid lacking qqq messages
......................................................................

Use new banana checker as a linter to avoid lacking qqq messages

Change-Id: I0b11654b7e16e2f8473d21c6a0dcadab9dff158f
---
M Gruntfile.js
M package.json
2 files changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor 
refs/changes/69/124069/1

diff --git a/Gruntfile.js b/Gruntfile.js
index 6b99f46..0f65b92 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -12,6 +12,7 @@
        grunt.loadNpmTasks( 'grunt-contrib-csslint' );
        grunt.loadNpmTasks( 'grunt-contrib-qunit' );
        grunt.loadNpmTasks( 'grunt-contrib-watch' );
+       grunt.loadNpmTasks( 'grunt-banana-checker' );
        grunt.loadNpmTasks( 'grunt-jscs-checker' );
        grunt.loadTasks( 'build/tasks' );
 
@@ -81,6 +82,9 @@
                                '{.docs,build,demos,modules}/**/*.css'
                        ],
                },
+               banana: {
+                       all: 'modules/ve/i18n/'
+               },
                qunit: {
                        ve: 'modules/ve/test/index.html',
                        unicodejs: 'modules/unicodejs/index.html'
@@ -97,7 +101,7 @@
                }
        } );
 
-       grunt.registerTask( 'lint', ['jshint', 'jscs', 'csslint'] );
+       grunt.registerTask( 'lint', ['jshint', 'jscs', 'csslint', 'banana'] );
        grunt.registerTask( 'unit', ['qunit'] );
        grunt.registerTask( 'build', ['buildloader'] );
        grunt.registerTask( 'test', ['build', 'lint', 'unit'] );
diff --git a/package.json b/package.json
index f25b6e3..67fefed 100644
--- a/package.json
+++ b/package.json
@@ -20,6 +20,7 @@
     "grunt-contrib-csslint": "0.2.0",
     "grunt-contrib-qunit": "0.4.0",
     "grunt-contrib-watch": "0.5.3",
+    "grunt-banana-checker": "0.1.0",
     "grunt-jscs-checker": "0.4.1"
   }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b11654b7e16e2f8473d21c6a0dcadab9dff158f
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to