jshint-stylish-file

1.0.0 • Public • Published

jshint-stylish-file Build Status

Stylish reporter for JSHint

A shameless rip of the original JSHint-Stylish. I had need to send output to both Console and a file while using Gulp. The file output is a very barebones version on the consolout put. No colours or icons.

Install

$ npm install --save-dev jshint-stylish-file

Options

beep

Type: boolean
Default: false

The system bell will make a sound if there were any warnings or errors.

output

Type: string
Default: undefined

The file to write to.

Example

gulp.task('default', () =>
    gulp.src(['file.js'])
        .pipe(jshint('.jshintrc'))
        .pipe(jshint.reporter('jshint-stylish', {beep: true, output: 'report/report.txt' }))
);

License

MIT © Sindre Sorhus

Package Sidebar

Install

npm i jshint-stylish-file

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ackellyb