node package manager

jshint-teamcity

JSHint TeamCity Reporter which group by files using TeamCity Test Suite

JSHint TeamCity Reporter which group by files using TeamCity Test Suites

Install with npm: npm install --save-dev jshint-teamcity

Use it with:

jshint --reporter node_modules/jshint-teamcity/teamcity.js file.js
gulp.task('default', function () {
gulp.src(['file.js'])
.pipe(jshint('.jshintrc'))
.pipe(jshint.reporter('jshint-teamcity'));
});
grunt.initConfig({
jshint: {
options: {
reporter: require('jshint-teamcity')
},
target: ['file.js']
}
});
 
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint']);

Thanks to jshint-stylish and jshint-teamcity-reporter.

MIT © David Hong