Golangci-lint Custom Plugins Configuration
golangci-lint custom plugins configuration file
| Type | Configuration |
|---|---|
| File match |
.custom-gcl.yml
.custom-gcl.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/golangci-lint-custom-plugins-configuration/latest.json |
| Source | https://golangci-lint.run/jsonschema/custom-gcl.jsonschema.json |
Validate with Lintel
npx @lintel/lintel check
Type:
Configuration
mygcl configuration definition file
Definitions
Configuration
object
Configuration represents the configuration file.
version
string
required
golangci-lint version.
name
string
Name of the binary.
destination
string
Destination is the path to a directory to store the binary.
plugins
Plugin[]
Plugins information.
Plugin
object
Plugin represents information about a plugin.
module
string
required
Module name.
import
string
Import to use.
version
string
Version of the module. Only for module available through a Go proxy.
path
string
Path to the local module. Only for local module.