Skip to content

configuration overlays, ability to merge config, from shared base to local exceptions #4895

@ldemailly

Description

@ldemailly

Welcome

Your feature request related to a problem? Please describe

Problem is copy-past'ing config everywhere, a solution is to share a config and download it, which is what I do

Yet sometimes/often you'd want to make minor tweaks to said config for a specific project, cloning the source goes back to rot and diverging config and having to update dozen of files each time there is a new golangci-lint release

Describe the solution you'd like

golangci-lint run -c base_config.yml -c deltas.yml

(obviously merging is not... that trivial and maybe additional directives are needed it's not just a yml merge, I think)

Describe alternatives you've considered

trying to do some merging myself, maybe it's easy and worth documenting how and this is just a "doc" issue

Additional context

No response

Supporter

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions