mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-31 23:19:40 +02:00
Add copyloopvar
to enabled linters
This commit is contained in:
parent
0fbed71f15
commit
6cf6941a77
@ -14,10 +14,16 @@ linters:
|
|||||||
- exhaustive
|
- exhaustive
|
||||||
- makezero
|
- makezero
|
||||||
- nakedret
|
- nakedret
|
||||||
|
- copyloopvar
|
||||||
# - goconst # TODO: enable and fix issues
|
# - goconst # TODO: enable and fix issues
|
||||||
fast: false
|
fast: false
|
||||||
|
|
||||||
linters-settings:
|
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:
|
exhaustive:
|
||||||
default-signifies-exhaustive: true
|
default-signifies-exhaustive: true
|
||||||
staticcheck:
|
staticcheck:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user