vfile-reporter-shiny

1.0.1 • Public • Published

vfile-reporter-shiny

Shiny reporter for vfile. Visually similar to vfile-reporter-pretty but avoids a transformation to eslint messages which allows us to support info messages. In addition, it adds hyperlinks to remark and attend rules and enables unicode output and hyperlinks in Windows Terminal.

npm Node version Test Standard Common Changelog

screenshot

Highlights

  • Sorts results by severity.
  • Stylizes inline codeblocks in messages.
  • In terminals that support hyperlinks:
    • Rules are linked to their docs. This works for eslint, remark and attend rules.
    • Literal urls in messages become links
    • Literal GitHub urls are displayed as e.g. vweevers/vfile-reporter-shiny#1
  • In iTerm and ConEmu, click a filename to open it in your editor.

Install

npm install vfile-reporter-shiny

Usage

Attend

Nothing to do. It's the default reporter.

Unified

remark --report vfile-reporter-shiny .

Hallmark

Nothing to do. It's the default reporter.

License

MIT. Forked from eslint-formatter-pretty.

Package Sidebar

Install

npm i vfile-reporter-shiny

Weekly Downloads

174

Version

1.0.1

License

MIT

Unpacked Size

12.1 kB

Total Files

5

Last publish

Collaborators

  • vweevers