Skip to content

Commit

Permalink
docs: link to minimatch docs added. (#15688)
Browse files Browse the repository at this point in the history
* docs: link to minimatch docs added

* Update docs/user-guide/configuring/configuration-files.md

Fixes: #15670

Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
  • Loading branch information
tewarig and nzakas committed Mar 9, 2022
1 parent 57b8a57 commit de800c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/user-guide/configuring/configuration-files.md
Expand Up @@ -358,6 +358,8 @@ module.exports = {

<b>v4.1.0+.</b> Sometimes a more fine-controlled configuration is necessary, for example, if the configuration for files within the same directory has to be different. Therefore you can provide configurations under the `overrides` key that will only apply to files that match specific glob patterns, using the same format you would pass on the command line (e.g., `app/**/*.test.js`).

Glob patterns in overrides use [minimatch syntax](https://github.com/isaacs/minimatch).

### How do overrides work?

It is possible to override settings based on file glob patterns in your configuration by using the `overrides` key. An example of using the `overrides` key is as follows:
Expand Down

0 comments on commit de800c3

Please sign in to comment.