You've already forked testing-go-code-with-postgres
mirror of
https://github.com/xorcare/testing-go-code-with-postgres.git
synced 2025-06-30 23:23:40 +02:00
Configure linter 'unused'
These settings allow you to find more unused code.
This commit is contained in:
@ -14,3 +14,10 @@ linters:
|
|||||||
- typecheck
|
- typecheck
|
||||||
- unused
|
- unused
|
||||||
- whitespace
|
- whitespace
|
||||||
|
|
||||||
|
linters-settings:
|
||||||
|
unused:
|
||||||
|
field-writes-are-uses: false
|
||||||
|
post-statements-are-reads: true
|
||||||
|
exported-fields-are-used: false
|
||||||
|
local-variables-are-used: false
|
||||||
|
Reference in New Issue
Block a user