Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: more stringent golangci-lint rules #452

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

brianmcgee
Copy link
Member

@brianmcgee brianmcgee commented Oct 15, 2024

Applies more stringent golangci-lint rules to the repository, borrowed from https://github.com/nix-community/go-nix.

Also fixes a bug where we were not returning errors when calling walk.Reader.Read() in cmd/format

Copy link
Collaborator

@jfly jfly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am definitely not knowledgeable enough about go to give good feedback here.

I didn't see anything scary, though!

.golangci.yml Show resolved Hide resolved
build/build.go Outdated Show resolved Hide resolved
cmd/format/format.go Outdated Show resolved Hide resolved
cmd/init/init.go Show resolved Hide resolved
format/cache.go Show resolved Hide resolved
walk/cache/bucket.go Show resolved Hide resolved
@brianmcgee brianmcgee force-pushed the feat/golangci-lint branch 2 times, most recently from 293c2dc to 027390d Compare October 16, 2024 14:48
Applies more stringent `golangci-lint` rules to the repository, borrowed from https://github.com/nix-community/go-nix.

Also fixes a bug where we were not returning errors when calling `walk.Reader.Read()` in `cmd/format`

Signed-off-by: Brian McGee <[email protected]>
Co-authored-by: Jeremy Fleischman <[email protected]>
Signed-off-by: Brian McGee <[email protected]>
@brianmcgee brianmcgee merged commit c8a96da into main Oct 16, 2024
27 checks passed
@brianmcgee brianmcgee deleted the feat/golangci-lint branch October 16, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants