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

Prettier uses the `ignore` package, which implements gitignore syntax.
So add a link to gitignore syntax.
This commit is contained in:
Brian Malehorn authored and Simon Lydell committed 2019-06-02 11:46:17 +02:00
1 parent e4f0df5bed
commit 9ee56cdcfd
1 file changed
+1 -1
+1 -1
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