Skip to content

Commit 12f5746

Browse files
docs: add info about dot files and dir in flat config (#18239)
* docs: add info about dot files and dir * docs: change note to important
1 parent b93f408 commit 12f5746

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ This configuration specifies that all of the files in the `.config` directory sh
173173

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

176+
::: important
177+
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`.
178+
:::
179+
176180
#### Cascading Configuration Objects
177181

178182
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:

0 commit comments

Comments
 (0)