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:
5959 - sloglint # ensure consistent code style when using log/slog [fast: false, auto-fix: false]
6060 - staticcheck
6161 - 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]
6263 - tenv # tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17 [fast: false, auto-fix: false]
6364 - testifylint # Checks usage of github.com/stretchr/testify. [fast: false, auto-fix: false]
6465 - testpackage # linter that makes you use a separate _test package [fast: true, auto-fix: false]
@@ -152,3 +153,7 @@ issues:
152153 linters :
153154 - revive
154155 - 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 4747)
4848
4949type Config struct {
50- Alias * alias.Config `json:"alias" yaml:"alias"`
50+ Alias * alias.Config `json:"alias" yaml:"alias"`
5151 Output string `json:"output" yaml:"output"`
5252
5353 path string
You can’t perform that action at this time.
0 commit comments