Create a report for a vfile.
- Ranges (
- Stack-traces to show where awful stuff occurs
- Successful files (configurable)
- All of VFile’s awesomeness
npm install vfile-reporter
var vfile =var reporter =var one =var two =oneconsole
node example yields:
test/fixture/1.js2:4 warning Warning!test/fixture/2.js: no issues found⚠ 1 warning
Generate a stylish report from the given
Output long form descriptions of messages, if applicable (
Do not output anything for a file which has no warnings or errors (
The default behavior is to show a success message.
Do not output messages without
fatal set to true (
Whether to use color (
boolean, default: depends).
The default behavior is the check if color is supported.
Label to use for files without file-path (
If one file and no
defaultName is given, no name will show up in the report.
vfile-reporter-json— JSON reporter
vfile-reporter-pretty— Pretty reporter
convert-vinyl-to-vfile— Convert from Vinyl
vfile-statistics— Count messages per category
vfile-sort— Sort messages by line/column
This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.
Forked from ESLint’s stylish reporter (originally created by Sindre Sorhus), which is Copyright (c) 2013 Nicholas C. Zakas, and licensed under MIT.