Documentation ¶
Overview ¶
nolint:dupl
nolint:dupl
Index ¶
- Constants
- func NewAsciicheck() *goanalysis.Linter
- func NewBodyclose() *goanalysis.Linter
- func NewDeadcode() *goanalysis.Linter
- func NewDepguard() *goanalysis.Linter
- func NewDogsled() *goanalysis.Linter
- func NewDupl() *goanalysis.Linter
- func NewErrcheck() *goanalysis.Linter
- func NewErrorLint(cfg *config.ErrorLintSettings) *goanalysis.Linter
- func NewExhaustive(settings *config.ExhaustiveSettings) *goanalysis.Linter
- func NewExhaustiveStruct() *goanalysis.Linter
- func NewExportLoopRef() *goanalysis.Linter
- func NewFunlen() *goanalysis.Linter
- func NewGci() *goanalysis.Linter
- func NewGoHeader() *goanalysis.Linter
- func NewGoMND(cfg *config.Config) *goanalysis.Linter
- func NewGoPrintfFuncName() *goanalysis.Linter
- func NewGochecknoglobals() *goanalysis.Linter
- func NewGochecknoinits() *goanalysis.Linter
- func NewGocognit() *goanalysis.Linter
- func NewGoconst() *goanalysis.Linter
- func NewGocritic() *goanalysis.Linter
- func NewGocyclo() *goanalysis.Linter
- func NewGodot() *goanalysis.Linter
- func NewGodox() *goanalysis.Linter
- func NewGoerr113() *goanalysis.Linter
- func NewGofmt() *goanalysis.Linter
- func NewGofumpt() *goanalysis.Linter
- func NewGoimports() *goanalysis.Linter
- func NewGolint() *goanalysis.Linter
- func NewGomodguard() *goanalysis.Linter
- func NewGosec() *goanalysis.Linter
- func NewGosimple() *goanalysis.Linter
- func NewGovet(cfg *config.GovetSettings) *goanalysis.Linter
- func NewIneffassign() *goanalysis.Linter
- func NewInterfacer() *goanalysis.Linter
- func NewLLL() *goanalysis.Linter
- func NewMaligned() *goanalysis.Linter
- func NewMisspell() *goanalysis.Linter
- func NewNLReturn() *goanalysis.Linter
- func NewNakedret() *goanalysis.Linter
- func NewNestif() *goanalysis.Linter
- func NewNoLintLint() *goanalysis.Linter
- func NewNoctx() *goanalysis.Linter
- func NewPrealloc() *goanalysis.Linter
- func NewRowsErrCheck() *goanalysis.Linter
- func NewSQLCloseCheck() *goanalysis.Linter
- func NewScopelint() *goanalysis.Linter
- func NewStaticcheck() *goanalysis.Linter
- func NewStructcheck() *goanalysis.Linter
- func NewStylecheck() *goanalysis.Linter
- func NewTestpackage(cfg *config.TestpackageSettings) *goanalysis.Linter
- func NewTparallel() *goanalysis.Linter
- func NewTypecheck() *goanalysis.Linter
- func NewUnconvert() *goanalysis.Linter
- func NewUnparam() *goanalysis.Linter
- func NewUnused() *goanalysis.Linter
- func NewVarcheck() *goanalysis.Linter
- func NewWSL() *goanalysis.Linter
- func NewWhitespace() *goanalysis.Linter
- func NewWrapcheck() *goanalysis.Linter
- type Change
- type Node
Constants ¶
View Source
const NolintlintName = "nolintlint"
Variables ¶
This section is empty.
Functions ¶
func NewAsciicheck ¶ added in v1.25.1
func NewAsciicheck() *goanalysis.Linter
func NewBodyclose ¶ added in v1.17.0
func NewBodyclose() *goanalysis.Linter
func NewDeadcode ¶ added in v1.20.0
func NewDeadcode() *goanalysis.Linter
func NewDepguard ¶ added in v1.20.0
func NewDepguard() *goanalysis.Linter
func NewDogsled ¶ added in v1.20.0
func NewDogsled() *goanalysis.Linter
func NewDupl ¶ added in v1.20.0
func NewDupl() *goanalysis.Linter
func NewErrcheck ¶ added in v1.20.0
func NewErrcheck() *goanalysis.Linter
func NewErrorLint ¶ added in v1.32.0
func NewErrorLint(cfg *config.ErrorLintSettings) *goanalysis.Linter
func NewExhaustive ¶ added in v1.28.0
func NewExhaustive(settings *config.ExhaustiveSettings) *goanalysis.Linter
func NewExhaustiveStruct ¶ added in v1.32.0
func NewExhaustiveStruct() *goanalysis.Linter
func NewExportLoopRef ¶ added in v1.28.0
func NewExportLoopRef() *goanalysis.Linter
func NewFunlen ¶ added in v1.20.0
func NewFunlen() *goanalysis.Linter
func NewGci ¶ added in v1.30.0
func NewGci() *goanalysis.Linter
func NewGoHeader ¶ added in v1.28.0
func NewGoHeader() *goanalysis.Linter
func NewGoPrintfFuncName ¶ added in v1.23.0
func NewGoPrintfFuncName() *goanalysis.Linter
func NewGochecknoglobals ¶ added in v1.20.0
func NewGochecknoglobals() *goanalysis.Linter
func NewGochecknoinits ¶ added in v1.20.0
func NewGochecknoinits() *goanalysis.Linter
func NewGocognit ¶ added in v1.20.0
func NewGocognit() *goanalysis.Linter
func NewGoconst ¶ added in v1.20.0
func NewGoconst() *goanalysis.Linter
func NewGocritic ¶ added in v1.20.0
func NewGocritic() *goanalysis.Linter
func NewGocyclo ¶ added in v1.20.0
func NewGocyclo() *goanalysis.Linter
func NewGodot ¶ added in v1.25.0
func NewGodot() *goanalysis.Linter
func NewGodox ¶ added in v1.20.0
func NewGodox() *goanalysis.Linter
func NewGoerr113 ¶ added in v1.26.0
func NewGoerr113() *goanalysis.Linter
func NewGofmt ¶ added in v1.20.0
func NewGofmt() *goanalysis.Linter
func NewGofumpt ¶ added in v1.28.0
func NewGofumpt() *goanalysis.Linter
func NewGoimports ¶ added in v1.20.0
func NewGoimports() *goanalysis.Linter
func NewGolint ¶ added in v1.20.0
func NewGolint() *goanalysis.Linter
func NewGomodguard ¶ added in v1.25.0
func NewGomodguard() *goanalysis.Linter
NewGomodguard returns a new Gomodguard linter.
func NewGosec ¶ added in v1.20.0
func NewGosec() *goanalysis.Linter
func NewGosimple ¶ added in v1.13.1
func NewGosimple() *goanalysis.Linter
func NewGovet ¶ added in v1.16.0
func NewGovet(cfg *config.GovetSettings) *goanalysis.Linter
func NewIneffassign ¶ added in v1.20.0
func NewIneffassign() *goanalysis.Linter
func NewInterfacer ¶ added in v1.20.0
func NewInterfacer() *goanalysis.Linter
func NewLLL ¶ added in v1.20.0
func NewLLL() *goanalysis.Linter
func NewMaligned ¶ added in v1.20.0
func NewMaligned() *goanalysis.Linter
func NewMisspell ¶ added in v1.17.0
func NewMisspell() *goanalysis.Linter
func NewNLReturn ¶ added in v1.30.0
func NewNLReturn() *goanalysis.Linter
func NewNakedret ¶ added in v1.20.0
func NewNakedret() *goanalysis.Linter
func NewNestif ¶ added in v1.25.0
func NewNestif() *goanalysis.Linter
func NewNoLintLint ¶ added in v1.26.0
func NewNoLintLint() *goanalysis.Linter
func NewNoctx ¶ added in v1.28.0
func NewNoctx() *goanalysis.Linter
func NewPrealloc ¶ added in v1.20.0
func NewPrealloc() *goanalysis.Linter
func NewRowsErrCheck ¶ added in v1.23.0
func NewRowsErrCheck() *goanalysis.Linter
func NewSQLCloseCheck ¶ added in v1.28.0
func NewSQLCloseCheck() *goanalysis.Linter
func NewScopelint ¶ added in v1.20.0
func NewScopelint() *goanalysis.Linter
func NewStaticcheck ¶ added in v1.13.1
func NewStaticcheck() *goanalysis.Linter
func NewStructcheck ¶ added in v1.20.0
func NewStructcheck() *goanalysis.Linter
func NewStylecheck ¶ added in v1.13.1
func NewStylecheck() *goanalysis.Linter
func NewTestpackage ¶ added in v1.25.0
func NewTestpackage(cfg *config.TestpackageSettings) *goanalysis.Linter
func NewTparallel ¶ added in v1.32.0
func NewTparallel() *goanalysis.Linter
func NewTypecheck ¶ added in v1.20.0
func NewTypecheck() *goanalysis.Linter
func NewUnconvert ¶ added in v1.20.0
func NewUnconvert() *goanalysis.Linter
func NewUnparam ¶ added in v1.20.0
func NewUnparam() *goanalysis.Linter
func NewUnused ¶ added in v1.13.1
func NewUnused() *goanalysis.Linter
func NewVarcheck ¶ added in v1.20.0
func NewVarcheck() *goanalysis.Linter
func NewWhitespace ¶ added in v1.20.0
func NewWhitespace() *goanalysis.Linter
func NewWrapcheck ¶ added in v1.32.0
func NewWrapcheck() *goanalysis.Linter
Types ¶
type Change ¶ added in v1.15.0
type Change struct { LineRange result.Range Replacement result.Replacement }
Source Files ¶
- asciicheck.go
- bodyclose.go
- deadcode.go
- depguard.go
- dogsled.go
- dupl.go
- errcheck.go
- errorlint.go
- exhaustive.go
- exhaustivestruct.go
- exportloopref.go
- funlen.go
- gci.go
- gochecknoglobals.go
- gochecknoinits.go
- gocognit.go
- goconst.go
- gocritic.go
- gocyclo.go
- godot.go
- godox.go
- goerr113.go
- gofmt.go
- gofmt_common.go
- gofumpt.go
- goheader.go
- goimports.go
- golint.go
- gomnd.go
- gomodguard.go
- goprintffuncname.go
- gosec.go
- gosimple.go
- govet.go
- ineffassign.go
- interfacer.go
- lll.go
- maligned.go
- megacheck.go
- misspell.go
- nakedret.go
- nestif.go
- nlreturn.go
- noctx.go
- nolintlint.go
- prealloc.go
- rowerrcheck.go
- scopelint.go
- sqlclosecheck.go
- staticcheck.go
- structcheck.go
- stylecheck.go
- testpackage.go
- tparallel.go
- typecheck.go
- unconvert.go
- unparam.go
- unused.go
- util.go
- varcheck.go
- whitespace.go
- wrapcheck.go
- wsl.go
Directories ¶
Path | Synopsis |
---|---|
Package checker defines the implementation of the checker commands.
|
Package checker defines the implementation of the checker commands. |
nolintlint provides a linter to ensure that all //nolint directives are followed by explanations
|
nolintlint provides a linter to ensure that all //nolint directives are followed by explanations |
Click to show internal directories.
Click to hide internal directories.