Skip to content

Commit

Permalink
docs: add info about dot files and dir in flat config (#18239)
Browse files Browse the repository at this point in the history
* docs: add info about dot files and dir

* docs: change note to important
  • Loading branch information
Tanujkanti4441 committed Apr 1, 2024
1 parent b93f408 commit 12f5746
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/use/configure/configuration-files.md
Expand Up @@ -173,6 +173,10 @@ This configuration specifies that all of the files in the `.config` directory sh

For more information on configuring rules, see [Ignore Files](ignore).

::: important
Glob patterns always match files and directories that begin with a dot, such as `.foo.js` or `.fixtures`, unless those files are explicitly ignored. The only dot directory ignored by default is `.git`.
:::

#### Cascading Configuration Objects

When more than one configuration object matches a given filename, the configuration objects are merged with later objects overriding previous objects when there is a conflict. For example:
Expand Down

0 comments on commit 12f5746

Please sign in to comment.