/eslint-formatter-html

eslint-formatter-html

Primary LanguageJavaScriptMIT LicenseMIT

eslint-formatter-html

A enhanced ESLint formatter

Examples

ESLint official example

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 and antd, 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