config

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(configPath string) (*lint.Config, error)

GetConfig yields the configuration

func GetFormatter

func GetFormatter(formatterName string) (lint.Formatter, error)

GetFormatter yields the formatter for lint failures

func GetLintingRules

func GetLintingRules(config *lint.Config) ([]lint.Rule, error)

GetLintingRules yields the linting rules that must be applied by the linter

Types

This section is empty.

Jump to

Keyboard shortcuts

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