Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 1.96 KB

README.md

File metadata and controls

63 lines (38 loc) · 1.96 KB

eslint-formatter-html-extended

🌹 Beautiful ESLint HTML formatter extended from ESLint's official HTML formatter by JulianLaval combined with Stylish by Sindre Sorhus

License version downloads minified

Why you need this formatter

With this formatter, you can generate HTML as report but still can see output in your terminal.

Read the background story:

Output Report

preview here

Screenshoot

Installation

$ yarn add eslint-formatter-html-extended -D
# OR
$ npm i eslint-formatter-html-extended --dev

Usage

Refer to this docs, you just need to add parameter -f nameFormatter -o nameFile, e.g.:

eslint --ext .js . -f node_modules/eslint-formatter-html-extended -o eslint-report.html

Or with shortcut name

eslint --ext .js . -f html-extended -o eslint-report.html

Development

# install dependencies
$ yarn install

# generate new output report
$ yarn lint:test

Copyright © 2019 by Irfan Maulana