Skip to content

Commit 80ee25d

Browse files
committed
Add .gitconfig file type to .editorconfig
The `.gitmodules` file defines the properties of a repository's submodules. The file automatically generated by Git submodule commands use tabs for indentation. It uses the same file format as the Git configuration file (e.g., `.gitconfig`). Even though the `.gitconfig` file is not likely to be found under the repository tree, it's possible the `.editorconfig` might end up being used outside the project specific scope so I added it to the file pattern.
1 parent befd449 commit 80ee25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ indent_style = space
5656
indent_size = 2
5757
indent_style = space
5858

59-
[.gitmodules]
59+
[{.gitconfig,.gitmodules}]
6060
indent_style = tab

0 commit comments

Comments
 (0)