Skip to content

Conversation

@ivokub
Copy link
Collaborator

@ivokub ivokub commented Oct 4, 2024

Description

There is now option to also lint generated files: golangci/golangci-lint#4740

This PR configures the linter and omits the editing of files in CI to have reproducible results when run locally outside of CI.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I did not modify files generated from templates
  • golangci-lint does not output errors locally
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@ivokub ivokub requested a review from gbotrel October 4, 2024 11:41
@ivokub ivokub self-assigned this Oct 4, 2024
@ivokub ivokub merged commit 722eb3b into master Oct 4, 2024
@ivokub ivokub deleted the chore/lint-generated branch October 4, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants