# Options

> Options for configuring HTMLHint config files, formatters, and more.

## `configFile`

[Section titled “configFile”](#configfile)

CLI flag: `--config`

Path to a JSON file that contains your [configuration object](/configuration/).

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()`).

## `format`

[Section titled “format”](#format)

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`

## `ignore`

[Section titled “ignore”](#ignore)

CLI flags: `--ignore, -i`

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

## `rulesdir`

[Section titled “rulesdir”](#rulesdir)

CLI flags: `--rulesdir, -R`

Load custom rules from a file or directory. This allows you to extend HTMLHint with your own custom rules.

### Usage

[Section titled “Usage”](#usage)

```shell