Skip to content

kube-api-linter module: ship a shared default KAL config #728

Description

@wallrj

Spun out of cert-manager/approver-policy#994 (comment), where @erikgb suggested:

It might be good to align our settings long-term. Maybe we can produce a default KAL config from makefile-modules, as we already do for golangci-lint.

Today each project supplies its own config via kube_api_linter_config:

The golangci-lint precedent to copy: the go module vendors a .golangci.override.yaml inside the klone-synced module directory and merges it over the project's config with yq before running:

The kube-api-linter module could ship a .golangci-kal.override.yaml with the agreed defaults (enable-list, lintersConfig, strict generated exclusions, unlimited issue caps) and merge it the same way, leaving projects a small local file for path scoping and deliberate deviations.

with claude fable-5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions