Skip to content

Commit 95ab6b3

Browse files
committed
Expand the .editorconfig file
Even though these are not relevant to this specific repository, the file is intended for use unmodified in all Arduino tooling projects and so it's easiest to define the standard formatting styles of all file types.
1 parent ed5445c commit 95ab6b3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.editorconfig

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ indent_style = space
2424
indent_size = 2
2525
indent_style = space
2626

27-
[*.go]
27+
[*.{go,mod}]
2828
indent_style = tab
2929

3030
[*.java]
@@ -39,6 +39,10 @@ indent_style = space
3939
indent_size = unset
4040
indent_style = space
4141

42+
[*.proto]
43+
indent_size = 2
44+
indent_style = space
45+
4246
[*.py]
4347
indent_size = 4
4448
indent_style = space
@@ -50,3 +54,6 @@ indent_style = space
5054
[*.{yaml,yml}]
5155
indent_size = 2
5256
indent_style = space
57+
58+
[{.gitconfig,.gitmodules}]
59+
indent_style = tab

0 commit comments

Comments
 (0)