mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
build(deps): bump github.com/catenacyber/perfsprint from 0.2.0 to 0.3.0 (#4157)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
61f2ef3afd
commit
2b7c777bb2
9 changed files with 96 additions and 9 deletions
|
@ -104,6 +104,9 @@ var defaultLintersSettings = LintersSettings{
|
|||
RequireSpecific: false,
|
||||
AllowUnused: false,
|
||||
},
|
||||
PerfSprint: PerfSprintSettings{
|
||||
IntConversion: true,
|
||||
},
|
||||
Prealloc: PreallocSettings{
|
||||
Simple: true,
|
||||
RangeLoops: true,
|
||||
|
@ -222,6 +225,7 @@ type LintersSettings struct {
|
|||
NoLintLint NoLintLintSettings
|
||||
NoNamedReturns NoNamedReturnsSettings
|
||||
ParallelTest ParallelTestSettings
|
||||
PerfSprint PerfSprintSettings
|
||||
Prealloc PreallocSettings
|
||||
Predeclared PredeclaredSettings
|
||||
Promlinter PromlinterSettings
|
||||
|
@ -675,11 +679,16 @@ type NoLintLintSettings struct {
|
|||
type NoNamedReturnsSettings struct {
|
||||
ReportErrorInDefer bool `mapstructure:"report-error-in-defer"`
|
||||
}
|
||||
|
||||
type ParallelTestSettings struct {
|
||||
IgnoreMissing bool `mapstructure:"ignore-missing"`
|
||||
IgnoreMissingSubtests bool `mapstructure:"ignore-missing-subtests"`
|
||||
}
|
||||
|
||||
type PerfSprintSettings struct {
|
||||
IntConversion bool `mapstructure:"int-conversion"`
|
||||
}
|
||||
|
||||
type PreallocSettings struct {
|
||||
Simple bool
|
||||
RangeLoops bool `mapstructure:"range-loops"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue