The labs/tools/grrrit has three Jenkins jobs defined: jshint , jsonlint and yamllint. I would like to migrate to have jenkins simply run npm test to reduce the number of jobs we have to maintained and let the grrrit developers easily define tests they need.
Moreover, the yamllint job in Jenkins is using the python implementation whereas grrrit is using node.js.
Please see https://www.mediawiki.org/wiki/Continuous_integration/Entry_points#JavaScript for help defining the npm entry point. Once done, we can switch CI to use it instead of the custom jobs.
- yaml migrated with https://gerrit.wikimedia.org/r/241523
- jsonlint/jshint should be done with Grunt probably