Skip to content

Commit 0504b56

Browse files
tresoramanzakas
andauthored
docs: specify that name prop do not break global ignore + better english syntaxs
Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
1 parent 1b71635 commit 0504b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/use/configure/configuration-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Filenames starting with a dot, such as `.gitignore`, are considered to have only
210210

211211
Depending on how the `ignores` property is used, it can behave as non-global `ignores` or as global `ignores`.
212212

213-
* If `ignores` is used without any other keys in the configuration object, then the patterns act as global ignores. This way it gets apply to every configuration object (not only to the configration object in which is defined). Global `ignores` allows you not to have to copy and keep the `ignores` property synchronized in more than one configuration object.
213+
* When `ignores` is used without any other keys (besides `name`) in the configuration object, then the patterns act as global ignores. This means they apply to every configuration object (not only to the configuration object in which it is defined). Global `ignores` allows you not to have to copy and keep the `ignores` property synchronized in more than one configuration object.
214214
* If `ignores` is used in conjunction with other properties in the same configuration object, then the patterns act as non-global ignores. This way `ignores` applies only that configuration object
215215

216216
Global and non-global `ignores` have some usage differences:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy