Skip to content

Commit d38d047

Browse files
authored
Gci: support auto fix (#1277)
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
1 parent 60613dc commit d38d047

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/lint/lintersdb/manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
208208
WithURL("https://github.com/denis-tingajkin/go-header"),
209209
linter.NewConfig(golinters.NewGci()).
210210
WithLoadForGoAnalysis().
211+
WithAutoFix().
211212
WithURL("https://github.com/daixiang0/gci"),
212213
linter.NewConfig(golinters.NewMaligned()).
213214
WithLoadForGoAnalysis().

0 commit comments

Comments
 (0)