ignore.md: add link to gitignore docs (#6168)

Prettier uses the `ignore` package, which implements gitignore syntax.
So add a link to gitignore syntax.
master
Brian Malehorn 2019-06-02 02:46:17 -07:00 committed by Simon Lydell
parent e4f0df5bed
commit 9ee56cdcfd
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ Prettier offers an escape hatch to ignore a block of code or prevent entire file
## Ignoring Files
To exclude files from formatting, add entries to a `.prettierignore` file in the project root or set the [`--ignore-path` CLI option](cli.md#ignore-path).
To exclude files from formatting, add entries to a `.prettierignore` file in the project root or set the [`--ignore-path` CLI option](cli.md#ignore-path). `.prettierignore` uses [gitignore syntax](https://git-scm.com/docs/gitignore#_pattern_format).
## JavaScript