Skip to content

Commit cd3a11e

Browse files
authored
Update readme.md
1 parent d480c94 commit cd3a11e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Takes `cwd?: URL | string` as options.
160160

161161
### isIgnoredByIgnoreFiles(patterns, options?)
162162

163-
Returns a `Promise<(path: URL | string) => boolean>` indicating whether a given path is ignored via an ignore file.
163+
Returns a `Promise<(path: URL | string) => boolean>` indicating whether a given path is ignored via the ignore files.
164164

165165
This is a more generic form of the `isGitIgnored` function, allowing you to find ignore files with a [compatible syntax](http://git-scm.com/docs/gitignore). For instance, this works with Babel's `.babelignore`, Prettier's `.prettierignore`, or ESLint's `.eslintignore` files.
166166

@@ -176,7 +176,7 @@ console.log(isIgnored('some/file'));
176176

177177
### isIgnoredByIgnoreFilesSync(patterns, options?)
178178

179-
Returns a `(path: URL | string) => boolean` indicating whether a given path is ignored via an ignore file.
179+
Returns a `(path: URL | string) => boolean` indicating whether a given path is ignored via the ignore files.
180180

181181
This is a more generic form of the `isGitIgnoredSync` function, allowing you to find ignore files with a [compatible syntax](http://git-scm.com/docs/gitignore). For instance, this works with Babel's `.babelignore`, Prettier's `.prettierignore`, or ESLint's `.eslintignore` files.
182182

0 commit comments

Comments
 (0)