Stricter linting #73

Closed
opened 2025-12-29 01:21:43 +01:00 by adam · 1 comment
Owner

Originally created by @kradalby on GitHub (Nov 12, 2021).

Originally assigned to: @kradalby on GitHub.

We currently have linting from golangci-lint standard package and some buf linting for proto.

We should add a configuration and consistent ci for linting that covers:

For go:

  • catch bugs
  • Best practices
  • Style

For yaml, markdown and more:

  • formatting with prettier
  • yamllint

For proto:

  • buf linting
  • Clangformatting

All the linters and formatters should be guarded by CI and be trivial for the user to run via make.

Originally created by @kradalby on GitHub (Nov 12, 2021). Originally assigned to: @kradalby on GitHub. We currently have linting from `golangci-lint` standard package and some `buf` linting for proto. We should add a configuration and consistent ci for linting that covers: For go: - catch bugs - Best practices - Style For yaml, markdown and more: - formatting with `prettier` - yamllint For proto: - buf linting - Clangformatting All the linters and formatters should be guarded by CI and be trivial for the user to run via make.
adam added the enhancement label 2025-12-29 01:21:43 +01:00
adam closed this issue 2025-12-29 01:21:43 +01:00
Author
Owner

@kradalby commented on GitHub (Nov 12, 2021):

I am to get this in after #212 is merged, if we do this with too much stuff open, we will have a lot of merge conflicts.

@kradalby commented on GitHub (Nov 12, 2021): I am to get this in after #212 is merged, if we do this with too much stuff open, we will have a lot of merge conflicts.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#73