Skip to content

jbesta/jshint-html-reporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jshint-html-reporter

Simple generator of HTML report for JSHint results.

Installation

$: npm install jshint-html-reporter --save

Usage

Use it with:

JSHint CLI

jshint --reporter node_modules/jshint-html-reporter/reporter.js file.js
grunt.initConfig({
	jshint: {
		options: {
			reporter: require('jshint-html-reporter'),
			reporterOutput: 'jshint-report.html'
		},
		target: ['file.js']
	}
});

grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint']);

URLs

Author

Adrian Pietka

License

MIT

Release History

  • 0.2.2 HTTP protocol removed from Bootstrap CDN url
  • 0.2.1 Properly escape content for HTML output
  • 0.2.0 Summary of results and code refactor
  • 0.1.3 Improvements in package.json
  • 0.1.2 Improvements in package.json and template
  • 0.1.1 Fixes for path of template files
  • 0.1.0 Initial release

About

Simple generator of HTML report for JSHint results.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%