jesseduffield.lazygit/pkg/gui/mergeconflicts
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
..
find_conflicts.go Use ScanLinesAndTruncateWhenLongerThanBuffer instead of bufio.ScanLines 2024-05-15 13:27:01 +02:00
find_conflicts_test.go improve merge conflict flow 2022-01-26 14:50:47 +11:00
merge_conflict.go Enable revive linter, and fix a bunch of warnings 2025-06-30 19:13:20 +02:00
rendering.go Standardise display of range selection across views 2024-01-19 10:47:21 +11:00
state.go Remove utils.Clamp, use lo.Clamp instead 2025-04-21 18:03:18 +02:00
state_test.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00