jesseduffield.lazygit/pkg/commands
Stefan Haller ca05a2ccea Enable revive linter, and fix a bunch of warnings
I took the set of enabled checks from revive's recommended configuration [1],
and removed some that I didn't like. There might be other useful checks in
revive that we might want to enable, but this is a nice improvement already.

The bulk of the changes here are removing unnecessary else statements after
returns, but there are a few others too.

[1] https://github.com/mgechev/revive?tab=readme-ov-file#recommended-configuration
2025-06-30 19:13:20 +02:00
..
git_commands Enable revive linter, and fix a bunch of warnings 2025-06-30 19:13:20 +02:00
git_config Enable errorlint linter, and fix warnings 2025-06-30 18:30:11 +02:00
hosting_service Enable revive linter, and fix a bunch of warnings 2025-06-30 19:13:20 +02:00
models Add IsAnnotated field to models.Tag struct 2025-06-30 16:12:33 +02:00
oscommands Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
patch Enable revive linter, and fix a bunch of warnings 2025-06-30 19:13:20 +02:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
git.go Use WorkingTreeState instead of RebaseMode in CommitLoader 2025-04-20 15:53:17 +02:00
git_cmd_obj_builder.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00
git_cmd_obj_runner.go Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00