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:
dependabot[bot] 2023-11-05 13:09:24 +01:00 committed by GitHub
parent 61f2ef3afd
commit 2b7c777bb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 96 additions and 9 deletions

View file

@ -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"`