1.0.5 • Published 7 years ago

jshint-tabular-report v1.0.5

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

jshint-tabular-report


Simple generator of tabular HTML report for JSHint results.

Installation

bash npm install jshint-tabular-report --save

Usage

Use it with:

JSHint CLI

bash

standard output

$: jshint --reporter node_modules/jshint-tabular-report/tabular-report.js file.js $: jshint --reporter node_modules/jshint-tabular-report/tabular-report.js controllers/*.js

redirect output to HTML file

$: jshint --reporter node_modules/jshint-tabular-report/tabular-report.js file.js > report.html $: jshint --reporter node_modules/jshint-tabular-report/tabular-report.js controllers/*.js > report.html

#### [grunt-contrib-jshint](https://github.com/gruntjs/grunt-contrib-jshint)

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

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

URLs

Author

Abhinandan GP abhinandangp.pes29@gmail.com

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago