mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-18 11:01:12 +02:00
chore: tweak nolintlint settings
Copy from kres manually for now. Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
This commit is contained in:
parent
1f5a0c4065
commit
fb605a0fc5
@ -99,6 +99,12 @@ linters-settings:
|
||||
nakedret:
|
||||
# make an issue if func has more lines of code than this setting and it has naked returns; default is 30
|
||||
max-func-lines: 30
|
||||
nolintlint:
|
||||
allow-unused: false
|
||||
allow-leading-space: false
|
||||
allow-no-explanation: []
|
||||
require-explanation: false
|
||||
require-specific: true
|
||||
prealloc:
|
||||
# XXX: we don't recommend using this linter before doing performance profiling.
|
||||
# For most programs usage of prealloc will be a premature optimization.
|
||||
|
Loading…
x
Reference in New Issue
Block a user