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 7252a65 commit a3a9938Copy full SHA for a3a9938
config/config.go
@@ -24,7 +24,13 @@ func Parse(confPath string) (*lint.Config, error) {
24
return nil, fmt.Errorf("config file error: %w", err)
25
}
26
27
- conf := &lint.Config{}
+ conf := &lint.Config{
28
+ MinVersion: internal.Version(),
29
+ Severity: lint.SeverityConfig{
30
+ Default: lint.SeverityError,
31
+ },
32
+ }
33
+
34
err = yaml.UnmarshalStrict(confBytes, conf)
35
if err != nil {
36
0 commit comments