File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -300,11 +300,11 @@ linters-settings:
300
300
301
301
# Checks that no inline Comments are present.
302
302
# Default: false
303
- no-inlineComments : true
303
+ no-inline-comments : true
304
304
305
305
# Checks that no prefix Comments(comment lines above an import) are present.
306
306
# Default: false
307
- no-prefixComments : true
307
+ no-prefix-comments : true
308
308
309
309
# Section configuration to compare against.
310
310
# Section names are case-insensitive and may contain parameters in ().
@@ -318,7 +318,7 @@ linters-settings:
318
318
319
319
# Separators that should be present between sections.
320
320
# Default: ["newLine"]
321
- sectionSeparators :
321
+ section-separators :
322
322
- newLine
323
323
324
324
gocognit :
Original file line number Diff line number Diff line change @@ -258,10 +258,10 @@ type FunlenSettings struct {
258
258
259
259
type GciSettings struct {
260
260
LocalPrefixes string `mapstructure:"local-prefixes"` // Deprecated
261
- NoInlineComments bool `mapstructure:"no-inlineComments "`
262
- NoPrefixComments bool `mapstructure:"no-prefixComments "`
261
+ NoInlineComments bool `mapstructure:"no-inline-comments "`
262
+ NoPrefixComments bool `mapstructure:"no-prefix-comments "`
263
263
Sections []string `mapstructure:"sections"`
264
- SectionSeparator []string `mapstructure:"sectionSeparators "`
264
+ SectionSeparator []string `mapstructure:"section-separators "`
265
265
}
266
266
267
267
type GocognitSettings struct {
You can’t perform that action at this time.
0 commit comments