Skip to content

Commit

Permalink
Add comments in user config struct (#3040)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield authored Sep 30, 2023
2 parents cc25a3b + 3e2ef84 commit e997d1a
Show file tree
Hide file tree
Showing 2 changed files with 265 additions and 110 deletions.
6 changes: 5 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ linters:
linters-settings:
exhaustive:
default-signifies-exhaustive: true

staticcheck:
# SA1019 is for checking that we're not using fields marked as deprecated
# in a comment. It decides this in a loose way so I'm silencing it. Also because
# it's tripping on our own structs.
checks: ["all", "-SA1019"]
nakedret:
# the gods will judge me but I just don't like naked returns at all
max-func-lines: 0
Expand Down
Loading

0 comments on commit e997d1a

Please sign in to comment.