jshint-teamcity
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "jshint-teamcity", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "JSHint TeamCity Reporter which group by files using TeamCity Test Suite", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,4 +0,47 @@ | ||
jshint-teamcity | ||
=============== | ||
## jshint-teamcity | ||
JSHint TeamCity Reporter which group by files using TeamCity Test Suites | ||
### Install | ||
Install with npm: `npm install --save-dev jshint-teamcity` | ||
### Usage | ||
Use it with: | ||
#### JSHint CLI | ||
``` | ||
jshint --reporter node_modules/jshint-teamcity/teamcity.js file.js | ||
``` | ||
#### gulp-jshint | ||
``` | ||
gulp.task('default', function () { | ||
gulp.src(['file.js']) | ||
.pipe(jshint('.jshintrc')) | ||
.pipe(jshint.reporter('jshint-teamcity')); | ||
}); | ||
``` | ||
#### grunt-contrib-jshint | ||
``` | ||
grunt.initConfig({ | ||
jshint: { | ||
options: { | ||
reporter: require('jshint-stylish') | ||
}, | ||
target: ['file.js'] | ||
} | ||
}); | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.registerTask('default', ['jshint']); | ||
``` | ||
### License | ||
MIT © David Hong |
6532
48