1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2026-06-20 01:19:23 +02:00

no more naked returns

This commit is contained in:
Jesse Duffield
2022-03-25 23:16:24 +11:00
parent cf74c2cf96
commit f9979879a1
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -13,6 +13,7 @@ linters:
- unconvert
- exhaustive
- makezero
- nakedret
# - goconst # TODO: enable and fix issues
fast: false
@@ -20,5 +21,9 @@ linters-settings:
exhaustive:
default-signifies-exhaustive: true
nakedret:
# the gods will judge me but I just don't like naked returns at all
max-func-lines: 0
run:
go: 1.18