File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ linters:
59
59
- sloglint # ensure consistent code style when using log/slog [fast: false, auto-fix: false]
60
60
- staticcheck
61
61
- stylecheck # Stylecheck is a replacement for golint [fast: false, auto-fix: false]
62
+ - tagalign # check that struct tags are well aligned [fast: true, auto-fix: true]
62
63
- tenv # tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17 [fast: false, auto-fix: false]
63
64
- testifylint # Checks usage of github.com/stretchr/testify. [fast: false, auto-fix: false]
64
65
- testpackage # linter that makes you use a separate _test package [fast: true, auto-fix: false]
@@ -152,3 +153,7 @@ issues:
152
153
linters :
153
154
- revive
154
155
- stylecheck
156
+
157
+ - path : internal/namespaces/k8s/v1/types/types.go
158
+ linters :
159
+ - tagalign
Original file line number Diff line number Diff line change 47
47
)
48
48
49
49
type Config struct {
50
- Alias * alias.Config `json:"alias" yaml:"alias"`
50
+ Alias * alias.Config `json:"alias" yaml:"alias"`
51
51
Output string `json:"output" yaml:"output"`
52
52
53
53
path string
You can’t perform that action at this time.
0 commit comments