Skip to content

New Linter: enums #17

@JoelSpeed

Description

@JoelSpeed

Enumerated fields should use type aliases with +enum.

  • TODO: Uncertain about how this plays into CRDs, need to understand this first
  • TODO: Check origin of this, what is the alternative
  • Enum values should be PascalCase
  • Allow exceptions for command-line executable where the proper name is consistent - configurable allowlist

Metadata

Metadata

Labels

kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions