eslint-formatter-react
v1.2.0
Published
eslint-formatter-html
Maintainers
Readme
eslint-formatter-react
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-reactUsage
npx eslint -f react -o ESLintReport.htmlMore information about formatters can be found on https://eslint.org/docs/latest/user-guide/formatters
Features
- The html page is built based on
reactandantd, 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
ansicode display - Supports dark mode, depending on your Mac settings
- The report data is compressed with gzip (
zlibon the Node side, nativeDecompressionStreamin the browser), even if the project is large, the report file size is small
