From 3a0bceacf902cd53365c040982ccc72149156592 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Fri, 21 Feb 2025 04:56:02 +0100 Subject: [PATCH 1/7] chore: rename misspell option --- .golangci.next.reference.yml | 2 +- .golangci.yml | 2 +- jsonschema/golangci.next.jsonschema.json | 4 ++-- pkg/config/linters_settings.go | 9 ++++----- pkg/golinters/misspell/misspell.go | 4 ++-- pkg/golinters/misspell/testdata/misspell.yml | 2 +- test/testdata/configs/output.yml | 2 +- 7 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.golangci.next.reference.yml b/.golangci.next.reference.yml index 7cae1c896a0d..651529508286 100644 --- a/.golangci.next.reference.yml +++ b/.golangci.next.reference.yml @@ -2215,7 +2215,7 @@ linters-settings: # Typos to ignore. # Should be in lower case. # Default: [] - ignore-words: + ignore-rules: - someword # Extra word corrections. # `typo` and `correction` should only contain letters. diff --git a/.golangci.yml b/.golangci.yml index 73acb099b724..4102ea282e88 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -187,7 +187,7 @@ linters-settings: line-length: 140 misspell: locale: US - ignore-words: + ignore-rules: - "importas" # linter name nolintlint: allow-unused: false # report any unused nolint directives diff --git a/jsonschema/golangci.next.jsonschema.json b/jsonschema/golangci.next.jsonschema.json index cea3c8aed5b0..d6f3d59b0a23 100644 --- a/jsonschema/golangci.next.jsonschema.json +++ b/jsonschema/golangci.next.jsonschema.json @@ -2135,8 +2135,8 @@ "locale": { "enum": ["US", "UK"] }, - "ignore-words": { - "description": "List of words to ignore.", + "ignore-rules": { + "description": "List of rules to ignore.", "type": "array", "items": { "type": "string" diff --git a/pkg/config/linters_settings.go b/pkg/config/linters_settings.go index 5043d1102596..85293353400f 100644 --- a/pkg/config/linters_settings.go +++ b/pkg/config/linters_settings.go @@ -673,11 +673,10 @@ type MakezeroSettings struct { } type MisspellSettings struct { - Mode string `mapstructure:"mode"` - Locale string `mapstructure:"locale"` - ExtraWords []MisspellExtraWords `mapstructure:"extra-words"` - // TODO(ldez): v2 the option must be renamed to `IgnoredRules`. - IgnoreWords []string `mapstructure:"ignore-words"` + Mode string `mapstructure:"mode"` + Locale string `mapstructure:"locale"` + ExtraWords []MisspellExtraWords `mapstructure:"extra-words"` + IgnoreRules []string `mapstructure:"ignore-rules"` } type MisspellExtraWords struct { diff --git a/pkg/golinters/misspell/misspell.go b/pkg/golinters/misspell/misspell.go index 9d19780aca2b..df282fa042f8 100644 --- a/pkg/golinters/misspell/misspell.go +++ b/pkg/golinters/misspell/misspell.go @@ -68,8 +68,8 @@ func createMisspellReplacer(settings *config.MisspellSettings) (*misspell.Replac return nil, fmt.Errorf("process extra words: %w", err) } - if len(settings.IgnoreWords) != 0 { - replacer.RemoveRule(settings.IgnoreWords) + if len(settings.IgnoreRules) != 0 { + replacer.RemoveRule(settings.IgnoreRules) } // It can panic. diff --git a/pkg/golinters/misspell/testdata/misspell.yml b/pkg/golinters/misspell/testdata/misspell.yml index 485487f2eef1..2947e3905b1d 100644 --- a/pkg/golinters/misspell/testdata/misspell.yml +++ b/pkg/golinters/misspell/testdata/misspell.yml @@ -3,6 +3,6 @@ version: "2" linters-settings: misspell: locale: US - ignore-words: + ignore-rules: - langauge - Dialogue diff --git a/test/testdata/configs/output.yml b/test/testdata/configs/output.yml index 81e14d8672f8..003a0eadf32c 100644 --- a/test/testdata/configs/output.yml +++ b/test/testdata/configs/output.yml @@ -3,7 +3,7 @@ version: "2" linters-settings: misspell: locale: US - ignore-words: + ignore-rules: - langauge - Dialogue From df436761b31a08c9b88d24fbc33162f9605cec31 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Fri, 21 Feb 2025 04:57:25 +0100 Subject: [PATCH 2/7] chore: rename gomodguard option --- .golangci.next.reference.yml | 2 +- jsonschema/golangci.next.jsonschema.json | 2 +- pkg/config/linters_settings.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.golangci.next.reference.yml b/.golangci.next.reference.yml index 651529508286..cfb6dbfcc3e0 100644 --- a/.golangci.next.reference.yml +++ b/.golangci.next.reference.yml @@ -1530,7 +1530,7 @@ linters-settings: reason: "testing if blocked version constraint works." # Set to true to raise lint issues for packages that are loaded from a local path via replace directive. # Default: false - local_replace_directives: false + local-replace-directives: false gosimple: # Sxxxx checks in https://staticcheck.dev/docs/configuration/options/#checks diff --git a/jsonschema/golangci.next.jsonschema.json b/jsonschema/golangci.next.jsonschema.json index d6f3d59b0a23..e5f0629256a1 100644 --- a/jsonschema/golangci.next.jsonschema.json +++ b/jsonschema/golangci.next.jsonschema.json @@ -1727,7 +1727,7 @@ } } }, - "local_replace_directives": { + "local-replace-directives": { "description": "Raise lint issues if loading local path with replace directive", "type": "boolean", "default": true diff --git a/pkg/config/linters_settings.go b/pkg/config/linters_settings.go index 85293353400f..1f01c217ce69 100644 --- a/pkg/config/linters_settings.go +++ b/pkg/config/linters_settings.go @@ -563,7 +563,7 @@ type GoModGuardSettings struct { Version string `mapstructure:"version"` Reason string `mapstructure:"reason"` } `mapstructure:"versions"` - LocalReplaceDirectives bool `mapstructure:"local_replace_directives"` + LocalReplaceDirectives bool `mapstructure:"local-replace-directives"` } `mapstructure:"blocked"` } From e4afea674b02a002c7becb2c3c3d58c448d940e2 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Fri, 21 Feb 2025 04:58:21 +0100 Subject: [PATCH 3/7] chore: rename predeclared option --- .golangci.next.reference.yml | 2 +- jsonschema/golangci.next.jsonschema.json | 2 +- pkg/config/linters_settings.go | 2 +- pkg/golinters/predeclared/testdata/predeclared_custom.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.golangci.next.reference.yml b/.golangci.next.reference.yml index cfb6dbfcc3e0..ed0e5547620a 100644 --- a/.golangci.next.reference.yml +++ b/.golangci.next.reference.yml @@ -2385,7 +2385,7 @@ linters-settings: ignore: "new,int" # Include method names and field names (i.e., qualified names) in checks. # Default: false - q: true + qualified-name: true promlinter: # Promlinter cannot infer all metrics name in static analysis. diff --git a/jsonschema/golangci.next.jsonschema.json b/jsonschema/golangci.next.jsonschema.json index e5f0629256a1..4521ae47f23c 100644 --- a/jsonschema/golangci.next.jsonschema.json +++ b/jsonschema/golangci.next.jsonschema.json @@ -2459,7 +2459,7 @@ "description": "Comma-separated list of predeclared identifiers to not report on.", "type": "string" }, - "q": { + "qualified-name": { "description": "Include method names and field names (i.e., qualified names) in checks.", "type": "boolean", "default": false diff --git a/pkg/config/linters_settings.go b/pkg/config/linters_settings.go index 1f01c217ce69..3f200d03a96f 100644 --- a/pkg/config/linters_settings.go +++ b/pkg/config/linters_settings.go @@ -757,7 +757,7 @@ type PreallocSettings struct { type PredeclaredSettings struct { Ignore string `mapstructure:"ignore"` - Qualified bool `mapstructure:"q"` + Qualified bool `mapstructure:"qualified-name"` } type PromlinterSettings struct { diff --git a/pkg/golinters/predeclared/testdata/predeclared_custom.yml b/pkg/golinters/predeclared/testdata/predeclared_custom.yml index 38f20dc3bb2b..60510de4b473 100644 --- a/pkg/golinters/predeclared/testdata/predeclared_custom.yml +++ b/pkg/golinters/predeclared/testdata/predeclared_custom.yml @@ -3,4 +3,4 @@ version: "2" linters-settings: predeclared: ignore: "real,recover" - q: true + qualified-name: true From d864d1ee03a168955fb85c31b7971d16174bbb34 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Fri, 21 Feb 2025 04:59:35 +0100 Subject: [PATCH 4/7] chore: rename wrapcheck options --- .golangci.next.reference.yml | 12 ++++++------ jsonschema/golangci.next.jsonschema.json | 8 ++++---- pkg/config/linters_settings.go | 11 +++++------ 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.golangci.next.reference.yml b/.golangci.next.reference.yml index ed0e5547620a..f76c0921f4e3 100644 --- a/.golangci.next.reference.yml +++ b/.golangci.next.reference.yml @@ -3878,9 +3878,9 @@ linters-settings: wrapcheck: # An array of strings specifying additional substrings of signatures to ignore. - # Unlike 'ignoreSigs', this option extends the default set (or the set specified in 'ignoreSigs') without replacing it entirely. + # Unlike 'ignore-sigs', this option extends the default set (or the set specified in 'ignore-sigs') without replacing it entirely. # This allows you to add specific signatures to the ignore list - # while retaining the defaults or any items in 'ignoreSigs'. + # while retaining the defaults or any items in 'ignore-sigs'. # Default: [] extra-ignore-sigs: - .CustomError( @@ -3890,7 +3890,7 @@ linters-settings: # If this set, it will override the default set of ignored signatures. # See https://github.com/tomarrell/wrapcheck#configuration for more information. # Default: [".Errorf(", "errors.New(", "errors.Unwrap(", "errors.Join(", ".Wrap(", ".Wrapf(", ".WithMessage(", ".WithMessagef(", ".WithStack("] - ignoreSigs: + ignore-sigs: - .Errorf( - errors.New( - errors.Unwrap( @@ -3902,16 +3902,16 @@ linters-settings: - .WithStack( # An array of strings that specify regular expressions of signatures to ignore. # Default: [] - ignoreSigRegexps: + ignore-sig-regexps: - \.New.*Error\( # An array of strings that specify globs of packages to ignore. # Default: [] - ignorePackageGlobs: + ignore-package-globs: - encoding/* - github.com/pkg/* # An array of strings that specify regular expressions of interfaces to ignore. # Default: [] - ignoreInterfaceRegexps: + ignore-interface-regexps: - ^(?i)c(?-i)ach(ing|e) wsl: diff --git a/jsonschema/golangci.next.jsonschema.json b/jsonschema/golangci.next.jsonschema.json index 4521ae47f23c..3d1a0b83bedb 100644 --- a/jsonschema/golangci.next.jsonschema.json +++ b/jsonschema/golangci.next.jsonschema.json @@ -3586,7 +3586,7 @@ "type": "string" } }, - "ignoreSigs": { + "ignore-sigs": { "description": "An array of strings which specify substrings of signatures to ignore.", "default": [ ".Errorf(", @@ -3603,7 +3603,7 @@ "type": "string" } }, - "ignoreSigRegexps": { + "ignore-sig-regexps": { "description": "An array of strings which specify regular expressions of signatures to ignore.", "default": [""], "type": "array", @@ -3611,7 +3611,7 @@ "type": "string" } }, - "ignorePackageGlobs": { + "ignore-package-globs": { "description": "An array of glob patterns which, if any match the package of the function returning the error, will skip wrapcheck analysis for this error.", "default": [""], "type": "array", @@ -3619,7 +3619,7 @@ "type": "string" } }, - "ignoreInterfaceRegexps": { + "ignore-interface-regexps": { "description": "An array of glob patterns which, if matched to an underlying interface name, will ignore unwrapped errors returned from a function whose call is defined on the given interface.", "default": [""], "type": "array", diff --git a/pkg/config/linters_settings.go b/pkg/config/linters_settings.go index 3f200d03a96f..6d33b5b5e424 100644 --- a/pkg/config/linters_settings.go +++ b/pkg/config/linters_settings.go @@ -987,12 +987,11 @@ type WhitespaceSettings struct { } type WrapcheckSettings struct { - ExtraIgnoreSigs []string `mapstructure:"extra-ignore-sigs"` - // TODO(ldez): v2 the options must be renamed to use hyphen. - IgnoreSigs []string `mapstructure:"ignoreSigs"` - IgnoreSigRegexps []string `mapstructure:"ignoreSigRegexps"` - IgnorePackageGlobs []string `mapstructure:"ignorePackageGlobs"` - IgnoreInterfaceRegexps []string `mapstructure:"ignoreInterfaceRegexps"` + ExtraIgnoreSigs []string `mapstructure:"extra-ignore-sigs"` + IgnoreSigs []string `mapstructure:"ignore-sigs"` + IgnoreSigRegexps []string `mapstructure:"ignore-sig-regexps"` + IgnorePackageGlobs []string `mapstructure:"ignore-package-globs"` + IgnoreInterfaceRegexps []string `mapstructure:"ignore-interface-regexps"` } type WSLSettings struct { From d9ea9613bd6463a46da302ac8f0838be7bf2f29c Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Fri, 21 Feb 2025 05:02:00 +0100 Subject: [PATCH 5/7] chore: rename forbidigo options --- .golangci.next.reference.yml | 10 +++--- jsonschema/golangci.next.jsonschema.json | 34 +++++++----------- pkg/config/linters_settings.go | 35 +------------------ pkg/golinters/forbidigo/forbidigo.go | 3 +- .../forbidigo/testdata/forbidigo.yml | 4 +-- .../forbidigo/testdata/forbidigo_struct.yml | 4 +-- test/testdata/configs/path-except.yml | 4 +-- 7 files changed, 27 insertions(+), 67 deletions(-) diff --git a/.golangci.next.reference.yml b/.golangci.next.reference.yml index f76c0921f4e3..59a962a165b5 100644 --- a/.golangci.next.reference.yml +++ b/.golangci.next.reference.yml @@ -708,20 +708,20 @@ linters-settings: # Default: ["^(fmt\\.Print(|f|ln)|print|println)$"] forbid: # Built-in bootstrapping functions. - - ^print(ln)?$ + - pattern: ^print(ln)?$ # Optional message that gets included in error reports. - - p: ^fmt\.Print.*$ + - pattern: ^fmt\.Print.*$ msg: Do not commit print statements. # Alternatively, put messages at the end of the regex, surrounded by `(# )?` # Escape any special characters. Those messages get included in error reports. - - 'fmt\.Print.*(# Do not commit print statements\.)?' + - pattern: 'fmt\.Print.*(# Do not commit print statements\.)?' # Forbid spew Dump, whether it is called as function or method. # Depends on analyze-types below. - - ^spew\.(ConfigState\.)?Dump$ + - pattern: ^spew\.(ConfigState\.)?Dump$ # The package name might be ambiguous. # The full import path can be used as additional criteria. # Depends on analyze-types below. - - p: ^v1.Dump$ + - pattern: ^v1.Dump$ pkg: ^example.com/pkg/api/v1$ # Exclude godoc examples from forbidigo checks. # Default: true diff --git a/jsonschema/golangci.next.jsonschema.json b/jsonschema/golangci.next.jsonschema.json index 3d1a0b83bedb..b22d457c6e9b 100644 --- a/jsonschema/golangci.next.jsonschema.json +++ b/jsonschema/golangci.next.jsonschema.json @@ -942,31 +942,23 @@ "forbid": { "description": "List of identifiers to forbid (written using `regexp`)", "type": "array", - "examples": ["^print(ln)?$"], "items": { - "anyOf": [ - { + "type": "object", + "additionalProperties": false, + "properties": { + "pattern": { + "description": "Pattern", "type": "string" }, - { - "type": "object", - "additionalProperties": false, - "properties": { - "p": { - "description": "Pattern", - "type": "string" - }, - "pkg": { - "description": "Package", - "type": "string" - }, - "msg": { - "description": "Message", - "type": "string" - } - } + "pkg": { + "description": "Package", + "type": "string" + }, + "msg": { + "description": "Message", + "type": "string" } - ] + } } } } diff --git a/pkg/config/linters_settings.go b/pkg/config/linters_settings.go index 6d33b5b5e424..82fea90e3a94 100644 --- a/pkg/config/linters_settings.go +++ b/pkg/config/linters_settings.go @@ -1,12 +1,9 @@ package config import ( - "encoding" "errors" "fmt" "runtime" - - "gopkg.in/yaml.v3" ) var defaultLintersSettings = LintersSettings{ @@ -425,42 +422,12 @@ type ForbidigoSettings struct { AnalyzeTypes bool `mapstructure:"analyze-types"` } -var _ encoding.TextUnmarshaler = &ForbidigoPattern{} - -// ForbidigoPattern corresponds to forbidigo.pattern and adds mapstructure support. -// The YAML field names must match what forbidigo expects. type ForbidigoPattern struct { - // patternString gets populated when the config contains a string as entry in ForbidigoSettings.Forbid[] - // because ForbidigoPattern implements encoding.TextUnmarshaler - // and the reader uses the mapstructure.TextUnmarshallerHookFunc as decoder hook. - // - // If the entry is a map, then the other fields are set as usual by mapstructure. - patternString string - - Pattern string `yaml:"p" mapstructure:"p"` + Pattern string `yaml:"p" mapstructure:"pattern"` Package string `yaml:"pkg,omitempty" mapstructure:"pkg,omitempty"` Msg string `yaml:"msg,omitempty" mapstructure:"msg,omitempty"` } -func (p *ForbidigoPattern) UnmarshalText(text []byte) error { - // Validation happens when instantiating forbidigo. - p.patternString = string(text) - return nil -} - -// MarshalString converts the pattern into a string as needed by forbidigo.NewLinter. -// -// MarshalString is intentionally not called MarshalText, -// although it has the same signature -// because implementing encoding.TextMarshaler led to infinite recursion when yaml.Marshal called MarshalText. -func (p *ForbidigoPattern) MarshalString() ([]byte, error) { - if p.patternString != "" { - return []byte(p.patternString), nil - } - - return yaml.Marshal(p) -} - type FunlenSettings struct { Lines int `mapstructure:"lines"` Statements int `mapstructure:"statements"` diff --git a/pkg/golinters/forbidigo/forbidigo.go b/pkg/golinters/forbidigo/forbidigo.go index 3b410359d0c1..e9741a633d85 100644 --- a/pkg/golinters/forbidigo/forbidigo.go +++ b/pkg/golinters/forbidigo/forbidigo.go @@ -5,6 +5,7 @@ import ( "github.com/ashanbrown/forbidigo/forbidigo" "golang.org/x/tools/go/analysis" + "gopkg.in/yaml.v3" "github.com/golangci/golangci-lint/pkg/config" "github.com/golangci/golangci-lint/pkg/goanalysis" @@ -49,7 +50,7 @@ func runForbidigo(pass *analysis.Pass, settings *config.ForbidigoSettings) error // Convert patterns back to strings because that is what NewLinter accepts. var patterns []string for _, pattern := range settings.Forbid { - buffer, err := pattern.MarshalString() + buffer, err := yaml.Marshal(pattern) if err != nil { return err } diff --git a/pkg/golinters/forbidigo/testdata/forbidigo.yml b/pkg/golinters/forbidigo/testdata/forbidigo.yml index f52130687625..c1f9a6267849 100644 --- a/pkg/golinters/forbidigo/testdata/forbidigo.yml +++ b/pkg/golinters/forbidigo/testdata/forbidigo.yml @@ -3,5 +3,5 @@ version: "2" linters-settings: forbidigo: forbid: - - fmt\.Print.* - - time.Sleep(# no sleeping!)? + - pattern: fmt\.Print.* + - pattern: time.Sleep(# no sleeping!)? diff --git a/pkg/golinters/forbidigo/testdata/forbidigo_struct.yml b/pkg/golinters/forbidigo/testdata/forbidigo_struct.yml index fc2b63a99fa7..24c7d6d02bdc 100644 --- a/pkg/golinters/forbidigo/testdata/forbidigo_struct.yml +++ b/pkg/golinters/forbidigo/testdata/forbidigo_struct.yml @@ -4,7 +4,7 @@ linters-settings: forbidigo: analyze-types: true forbid: - - p: fmt\.Print.* + - pattern: fmt\.Print.* pkg: ^fmt$ - - p: time.Sleep + - pattern: time.Sleep msg: no sleeping! diff --git a/test/testdata/configs/path-except.yml b/test/testdata/configs/path-except.yml index d07a62f81547..a2c8f86f16f1 100644 --- a/test/testdata/configs/path-except.yml +++ b/test/testdata/configs/path-except.yml @@ -3,8 +3,8 @@ version: "2" linters-settings: forbidigo: forbid: - - fmt\.Print.* - - time.Sleep(# no sleeping!)? + - pattern: fmt\.Print.* + - pattern: time.Sleep(# no sleeping!)? linters: exclusions: From eca0fe501122efa6578371bfd2dec21b5bbfa0ae Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Fri, 21 Feb 2025 05:03:38 +0100 Subject: [PATCH 6/7] chore: rename severity option --- .golangci.next.reference.yml | 2 +- jsonschema/golangci.next.jsonschema.json | 4 ++-- pkg/config/severity.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.golangci.next.reference.yml b/.golangci.next.reference.yml index 59a962a165b5..0747ddc38928 100644 --- a/.golangci.next.reference.yml +++ b/.golangci.next.reference.yml @@ -4236,7 +4236,7 @@ severity: # `@linter` can be used as severity value to keep the severity from linters (e.g. revive, gosec, ...) # # Default: "" - default-severity: error + default: error # If set to true `severity-rules` regular expressions become case-sensitive. # Default: false diff --git a/jsonschema/golangci.next.jsonschema.json b/jsonschema/golangci.next.jsonschema.json index b22d457c6e9b..7490f3245ece 100644 --- a/jsonschema/golangci.next.jsonschema.json +++ b/jsonschema/golangci.next.jsonschema.json @@ -4417,7 +4417,7 @@ "type": "object", "additionalProperties": false, "properties": { - "default-severity": { + "default": { "description": "Set the default severity for issues. If severity rules are defined and the issues do not match or no severity is provided to the rule this will be the default severity applied. Severities should match the supported severity names of the selected out format.", "type": "string", "default": "" @@ -4468,7 +4468,7 @@ "default": [] } }, - "required": ["default-severity"] + "required": ["default"] } } } diff --git a/pkg/config/severity.go b/pkg/config/severity.go index dc6c5e840939..fd090932f049 100644 --- a/pkg/config/severity.go +++ b/pkg/config/severity.go @@ -8,7 +8,7 @@ import ( const severityRuleMinConditionsCount = 1 type Severity struct { - Default string `mapstructure:"default-severity"` + Default string `mapstructure:"default"` CaseSensitive bool `mapstructure:"case-sensitive"` Rules []SeverityRule `mapstructure:"rules"` } From ac09639f80e1706e2d4c772e42d89cab32f33410 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Sat, 22 Feb 2025 19:58:14 +0100 Subject: [PATCH 7/7] review --- .golangci.next.reference.yml | 2 +- jsonschema/golangci.next.jsonschema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.next.reference.yml b/.golangci.next.reference.yml index 0747ddc38928..5b29e6e57775 100644 --- a/.golangci.next.reference.yml +++ b/.golangci.next.reference.yml @@ -2383,7 +2383,7 @@ linters-settings: # Comma-separated list of predeclared identifiers to not report on. # Default: "" ignore: "new,int" - # Include method names and field names (i.e., qualified names) in checks. + # Include method names and field names in checks. # Default: false qualified-name: true diff --git a/jsonschema/golangci.next.jsonschema.json b/jsonschema/golangci.next.jsonschema.json index 7490f3245ece..100acc262e25 100644 --- a/jsonschema/golangci.next.jsonschema.json +++ b/jsonschema/golangci.next.jsonschema.json @@ -2452,7 +2452,7 @@ "type": "string" }, "qualified-name": { - "description": "Include method names and field names (i.e., qualified names) in checks.", + "description": "Include method names and field names in checks.", "type": "boolean", "default": false }