Skip to content

Conversation

alexandear
Copy link
Member

@alexandear alexandear commented Nov 29, 2024

Refactor linters constructors:

  • rename parameters setting, s, and cfg to settings
  • rename variables cfgMap, linterCfg to cfg.
$ grep -r "func New(settings \*config\." --include \*.go | wc -l
      70
$ grep -r "func New(cfg \*config\." --include \*.go | wc -l
       8

@ldez ldez changed the title refactor linter constructors for consistency dev: refactor linter constructors for consistency Nov 29, 2024
@ldez ldez added the topic: cosmetic changes contain cosmetic improvements label Nov 29, 2024
@ldez ldez added this to the next milestone Nov 29, 2024
@ldez ldez merged commit 9921355 into golangci:master Nov 29, 2024
15 checks passed
@alexandear alexandear deleted the dev-rename-linters-new-param branch November 29, 2024 22:01
@ldez ldez modified the milestones: next, v1.63 Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: cosmetic changes contain cosmetic improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants