gci: fix configuration naming (#2578)
Some checks failed
CI / go-mod (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Release a tag / release (push) Has been cancelled
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-macos (push) Has been cancelled
CI / tests-on-unix (1.16) (push) Has been cancelled
CI / tests-on-unix (1.17) (push) Has been cancelled
CI / check_generated (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
Some checks failed
CI / go-mod (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Release a tag / release (push) Has been cancelled
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-macos (push) Has been cancelled
CI / tests-on-unix (1.16) (push) Has been cancelled
CI / tests-on-unix (1.17) (push) Has been cancelled
CI / check_generated (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
This commit is contained in:
parent
05e7d32e44
commit
9a70e9a458
@ -300,11 +300,11 @@ linters-settings:
|
|||||||
|
|
||||||
# Checks that no inline Comments are present.
|
# Checks that no inline Comments are present.
|
||||||
# Default: false
|
# Default: false
|
||||||
no-inlineComments: true
|
no-inline-comments: true
|
||||||
|
|
||||||
# Checks that no prefix Comments(comment lines above an import) are present.
|
# Checks that no prefix Comments(comment lines above an import) are present.
|
||||||
# Default: false
|
# Default: false
|
||||||
no-prefixComments: true
|
no-prefix-comments: true
|
||||||
|
|
||||||
# Section configuration to compare against.
|
# Section configuration to compare against.
|
||||||
# Section names are case-insensitive and may contain parameters in ().
|
# Section names are case-insensitive and may contain parameters in ().
|
||||||
@ -318,7 +318,7 @@ linters-settings:
|
|||||||
|
|
||||||
# Separators that should be present between sections.
|
# Separators that should be present between sections.
|
||||||
# Default: ["newLine"]
|
# Default: ["newLine"]
|
||||||
sectionSeparators:
|
section-separators:
|
||||||
- newLine
|
- newLine
|
||||||
|
|
||||||
gocognit:
|
gocognit:
|
||||||
|
@ -258,10 +258,10 @@ type FunlenSettings struct {
|
|||||||
|
|
||||||
type GciSettings struct {
|
type GciSettings struct {
|
||||||
LocalPrefixes string `mapstructure:"local-prefixes"` // Deprecated
|
LocalPrefixes string `mapstructure:"local-prefixes"` // Deprecated
|
||||||
NoInlineComments bool `mapstructure:"no-inlineComments"`
|
NoInlineComments bool `mapstructure:"no-inline-comments"`
|
||||||
NoPrefixComments bool `mapstructure:"no-prefixComments"`
|
NoPrefixComments bool `mapstructure:"no-prefix-comments"`
|
||||||
Sections []string `mapstructure:"sections"`
|
Sections []string `mapstructure:"sections"`
|
||||||
SectionSeparator []string `mapstructure:"sectionSeparators"`
|
SectionSeparator []string `mapstructure:"section-separators"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GocognitSettings struct {
|
type GocognitSettings struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user