From 9ee56cdcfd9028eb8bea5479c041e9704dbe7af0 Mon Sep 17 00:00:00 2001 From: Brian Malehorn Date: Sun, 2 Jun 2019 02:46:17 -0700 Subject: [PATCH] ignore.md: add link to gitignore docs (#6168) Prettier uses the `ignore` package, which implements gitignore syntax. So add a link to gitignore syntax. --- docs/ignore.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ignore.md b/docs/ignore.md index 05ef8e60c..d4b3a7db0 100644 --- a/docs/ignore.md +++ b/docs/ignore.md @@ -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