0.2.5 • Published 7 years ago

jshint-html-reporter v0.2.5

Weekly downloads
545
License
CC BY 4.0
Repository
github
Last release
7 years ago

jshint-html-reporter

Simple generator of HTML report for JSHint results.

Installation

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

Usage

Use it with:

JSHint CLI

# standard output
$: jshint --reporter node_modules/jshint-html-reporter/reporter.js file.js
$: jshint --reporter node_modules/jshint-html-reporter/reporter.js controllers/*.js

# redirect output to HTML file
$: jshint --reporter node_modules/jshint-html-reporter/reporter.js file.js > report.html
$: jshint --reporter node_modules/jshint-html-reporter/reporter.js controllers/*.js > report.html

grunt-contrib-jshint

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

CC BY 4.0 © Adrian Pietka

Release History

  • 0.2.5 Fixed page overflow when there are long lines of code
  • 0.2.4 Using HTTPS protocol for Bootstrap CDN url
  • 0.2.3 Changed license to CC 4.0
  • 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
0.2.5

7 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

10 years ago

0.2.0

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago