1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-28 09:08:41 +02:00

Add copyloopvar to enabled linters

This commit is contained in:
kyu08 2024-05-22 14:00:55 +09:00
parent 0fbed71f15
commit 6cf6941a77

View File

@ -14,10 +14,16 @@ linters:
- exhaustive
- makezero
- nakedret
- copyloopvar
# - goconst # TODO: enable and fix issues
fast: false
linters-settings:
copyloopvar:
# Check all assigning the loop variable to another variable.
# Default: false
# If true, an assignment like `a := x` will be detected as an error.
check-alias: true
exhaustive:
default-signifies-exhaustive: true
staticcheck: