Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ linters:
- dupword # Messes with test cases more often than not
- err113 # Out of date
- exhaustruct # No
- exportloopref # Go 1.22+ solves this
- forbidigo # Nothing to forbid
- funlen # Bad metric for complexity
- gci # gofmt/goimports is fine
Expand All @@ -21,10 +20,14 @@ linters:
- lll # Auto formatters do this and what they can't do I don't care about
- maintidx # This is just the inverse of complexity... which is cyclop
- nestif # cyclop does this
- nlreturn # Similar to wsl, I think best left to judgement
- nonamedreturns # Named returns are often helpful, it's naked returns that are the issue
- paralleltest # I've never had Go tests take longer than a few seconds, it's fine
- paralleltest # They run in like a second anyway
- tenv # Replaced by usetesting
- thelper # Lots of false positives due to the way I do table tests in here
- varnamelen # Lots of false positives of things that are fine
- wrapcheck # Not every error must be wrapped
- wsl # Very aggressive, some of this I like but tend to do anyway

issues:
exclude-rules:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/FollowTheProcess/snapshot

go 1.23
go 1.24

require (
github.com/FollowTheProcess/hue v0.4.0
Expand Down
Loading