customrules

package
v1.100.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImportShadowingRule

type ImportShadowingRule struct{}

ImportShadowingRule lints given else constructs.

func (*ImportShadowingRule) Apply

func (r *ImportShadowingRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure

Apply applies the rule to given file.

func (*ImportShadowingRule) Name

func (r *ImportShadowingRule) Name() string

Name returns the rule name.

type MultilineIfRule

type MultilineIfRule struct{}

func (*MultilineIfRule) Apply

func (r *MultilineIfRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure

func (*MultilineIfRule) Name

func (r *MultilineIfRule) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL