Package Exports
- eslint-formatter-html
- eslint-formatter-html/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-formatter-html) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-formatter-html
A enhanced ESLint formatter
Examples
ESLint official example
- https://eslint.org/docs/latest/user-guide/formatters/html-formatter-example
- https://shuoshubao.github.io/eslint-formatter-html/built-in
Install
npm i -D eslint-formatter-html
Usage
npx eslint -f html -o ESLintReport.html
More information about formatters can be found on https://eslint.org/docs/latest/user-guide/formatters
Features
- The html page is built based on
react
andantd
, and the interaction is very good - The file path is a relative path, very short
- Both file paths and code lines and columns can be copied, that you can quickly locate the specific location of the code
- Supports
ansi
code display - Supports dark mode, depending on your Mac settings
- Using pako compression, even if the project is large, the report file size is small