Skip to content

Commit ccde1a9

Browse files
committed
style: update default linter config
1 parent 175fd81 commit ccde1a9

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,17 @@ indent_size = 2
77
indent_style = space
88
trim_trailing_whitespace = true
99

10+
[.gitmodules]
11+
indent_style = tab
12+
1013
[Makefile*]
1114
indent_style = tab
1215

16+
[go.mod]
17+
indent_style = tab
18+
19+
[*.go]
20+
indent_style = tab
21+
1322
[*.py]
1423
indent_size = 4

.yamllint

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ extends: default
1111

1212
rules:
1313
anchors: enable
14-
braces: enable
14+
braces:
15+
min-spaces-inside: 0
16+
max-spaces-inside: 1
1517
brackets: enable
1618
colons: enable
1719
commas: enable

0 commit comments

Comments
 (0)