Skip to content

Commit 9fa04a6

Browse files
fix(config): set Version in confClone
1 parent 0ad1a7e commit 9fa04a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/default.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ func DefaultConfig(onlyEnabled bool) *lint.Config {
186186
}
187187

188188
confClone := &lint.Config{
189+
Version: defConf.Version,
189190
Formatter: defConf.Formatter,
190191
Rules: map[string]lint.RuleConfig{},
191192
}

0 commit comments

Comments
 (0)