Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix broken links #16066

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/user-guide/command-line-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ npx eslint --no-ignore file.js

#### `--ignore-pattern`

This option allows you to specify patterns of files to ignore (in addition to those in `.eslintignore`). You can repeat the option to provide multiple patterns. The supported syntax is the same as for `.eslintignore` [files](configuring/ignoring-code#the-eslintignore-file), which use the same patterns as the `.gitignore` [specification](https://git-scm.com/docs/gitignore). You should quote your patterns in order to avoid shell interpretation of glob patterns.
This option allows you to specify patterns of files to ignore (in addition to those in `.eslintignore`). You can repeat the option to provide multiple patterns. The supported syntax is the same as for `.eslintignore` [files](configuring/ignoring-code#the-.eslintignore-file), which use the same patterns as the `.gitignore` [specification](https://git-scm.com/docs/gitignore). You should quote your patterns in order to avoid shell interpretation of glob patterns.

Example:

Expand Down
2 changes: 1 addition & 1 deletion docs/src/user-guide/configuring/ignoring-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ eleventyNavigation:

## `ignorePatterns` in Config Files

You can tell ESLint to ignore specific files and directories using `ignorePatterns` in your config files. `ignorePatterns` patterns follow the same rules as `.eslintignore`. Please see the [the `.eslintignore` file documentation](./ignoring-code#the-eslintignore-file) to learn more.
You can tell ESLint to ignore specific files and directories using `ignorePatterns` in your config files. `ignorePatterns` patterns follow the same rules as `.eslintignore`. Please see the [the `.eslintignore` file documentation](./ignoring-code#the-.eslintignore-file) to learn more.

```json
{
Expand Down
2 changes: 1 addition & 1 deletion docs/src/user-guide/configuring/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ All of these options give you fine-grained control over how ESLint treats your c
[**Ignoring Code**](ignoring-code)

* [`ignorePatterns` in Config Files](./ignoring-code#ignorepatterns-in-config-files)
* [The `.eslintignore` File](./ignoring-code#the-eslintignore-file)
* [The `.eslintignore` File](./ignoring-code#the-.eslintignore-file)
* [Using an Alternate File](./ignoring-code#using-an-alternate-file)
* [Using eslintIgnore in package.json](./ignoring-code#using-eslintignore-in-packagejson)
* [Ignored File Warnings](./ignoring-code#ignored-file-warnings)