Skip to content

Options

CLI flag: --config

Path to a JSON file that contains your configuration object.

Use this option if you don’t want HTMLHint to search for a configuration file.

The path should be either absolute or relative to the directory that your process is running from (process.cwd()).

CLI flags: --format, -f

Specify the formatter to format your results.

Options are:

  • checkstyle
  • compact
  • html
  • json (default for Node API)
  • junit
  • markdown
  • sarif
  • unix

CLI flags: --ignore, -i

A list of patterns of files or folders to ignore. For example, --ignore="**/folder/**,**/folder_two/**"