Skip to content

Commit

Permalink
docs: Fix source precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
epage authored Oct 25, 2019
1 parent 5863158 commit 52926d8
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,22 @@
Configuration is read from the following (in precedence order)

- Command line arguments
- Either
- File specified via `--config PATH`
- Search parents of specified file / directory for `typos.toml`
- File specified via `--config PATH`
- Search parents of specified file / directory for `typos.toml`

### Config Fields

| Field | Argument | Format | Description |
|------------------------|-------------------|--------|-------------|
| files.binary | --binary | bool | |
| files.ignore-hidden | --hidden | bool | |
| files.ignore-files | --ignore | bool | |
| files.ignore-dot | --ignore-dot | bool | |
| files.ignore-vcs | --ignore-vcs | bool | |
| files.ignore-global | --ignore-global | bool | |
| files.ignore-parent | --ignore-parent | bool | |
| default.check-filename | \- | bool | |
| default.check-file | \- | bool | |
| default.ignore-hex | \- | bool | |
| default.identifier-include-digits | \- | bool | |
| default.identifier-include-chars | \- | string | |
| files.binary | --binary | bool | |
| files.ignore-hidden | --hidden | bool | |
| files.ignore-files | --ignore | bool | |
| files.ignore-dot | --ignore-dot | bool | |
| files.ignore-vcs | --ignore-vcs | bool | |
| files.ignore-global | --ignore-global | bool | |
| files.ignore-parent | --ignore-parent | bool | |
| default.check-filename | \- | bool | |
| default.check-file | \- | bool | |
| default.ignore-hex | \- | bool | |
| default.identifier-include-digits | \- | bool | |
| default.identifier-include-chars | \- | string | |

0 comments on commit 52926d8

Please sign in to comment.