We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f051464 commit 18df538Copy full SHA for 18df538
.golangci.yml
@@ -17,6 +17,11 @@ issues:
17
- gosec
18
19
linters-settings:
20
+ govet:
21
+ enable-all: true
22
+ disable:
23
+ - fieldalignment
24
+ - shadow
25
revive:
26
rules:
27
# The following rules are recommended https://github.com/mgechev/revive#recommended-configuration
pkg/plugins/golang/v4/scaffolds/edit.go
@@ -56,11 +56,6 @@ func (s *editScaffolder) Scaffold() error {
56
}
57
str := string(bs)
58
59
- // Ignore the error encountered, if the file is already in desired format.
60
- if err != nil && s.multigroup != s.config.IsMultiGroup() {
61
- return err
62
- }
63
-
64
if s.multigroup {
65
_ = s.config.SetMultiGroup()
66
} else {
0 commit comments