golangci

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 3 Imported by: 0

README

Golangci-lint plugin

In order to use zconfigcheck with golangci-lint, you will need to use the golangci-lint custom command as explained here.

You can use the reference custom modules configuration file for your integration.

We also provide an example linter settings file with some suggested configuration parameters.

Once all configuration files are in place, you can run the command:

$ golangci-lint custom

This will produce a new custom-gcl binary which supports the zconfigcheck custom linter. You can verify this by running:

$ ./custom-gcl linters | grep zconfigcheck 

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(_ any) (register.LinterPlugin, error)

Types

type Plugin

type Plugin struct{}

func (*Plugin) BuildAnalyzers

func (p *Plugin) BuildAnalyzers() ([]*analysis.Analyzer, error)

func (*Plugin) GetLoadMode

func (p *Plugin) GetLoadMode() string

Jump to

Keyboard shortcuts

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