mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 01:36:24 +01:00
golangci: update gomnd
config
This commit is contained in:
parent
60da823396
commit
b68ac6acdc
1 changed files with 16 additions and 0 deletions
|
@ -78,6 +78,22 @@ linters-settings:
|
||||||
# so no return split required.
|
# so no return split required.
|
||||||
block-size: 3
|
block-size: 3
|
||||||
|
|
||||||
|
gomnd:
|
||||||
|
# List of numbers to exclude from analysis.
|
||||||
|
# The numbers should be written as string.
|
||||||
|
# Values always ignored: "1", "1.0", "0" and "0.0"
|
||||||
|
# Default: []
|
||||||
|
ignored-numbers:
|
||||||
|
- '0666'
|
||||||
|
- '0755'
|
||||||
|
|
||||||
|
# List of function patterns to exclude from analysis.
|
||||||
|
# Values always ignored: `time.Date`
|
||||||
|
# Default: []
|
||||||
|
ignored-functions:
|
||||||
|
- 'math.*'
|
||||||
|
- 'strconv.ParseInt'
|
||||||
|
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
enable-all: true
|
enable-all: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue