settings

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package settings contains factories for instances of settings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() consider.Settings

Default returns the default settings of the linter package. They are reasonable for common use, yet they may also change over time with different versions.

If you only operate with default settings, it may be that newer versions of the linter will suddenly report new issues in old code.

func FromYaml

func FromYaml(data []byte) (consider.Settings, error)

FromYaml parses the provided raw YAML data into a settings instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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