udevhs

package
v0.0.0-...-76c535a Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StackVersion string

	Has_hindent         bool
	Has_brittany        bool
	Has_stylish_haskell bool
	Has_hlint           bool
	Has_ghcmod          bool
	Has_pointfree       bool
	Has_pointful        bool
	Has_hsimport        bool
	Has_htrefact        bool
	Has_htdaemon        bool
	Has_hare            bool
	Has_hasktags        bool
	Has_hothasktags     bool
	Has_lushtags        bool
	Has_deadcodedetect  bool
	Has_intero          bool
	Has_doctest         bool
	Has_hoogle          bool
	Has_apply_refact    bool

	StackArgs      = []string{"--dump-logs", "--no-time-in-log", "--no-install-ghc", "--skip-ghc-check", "--skip-msys", "--no-terminal", "--color", "never", "--jobs", "8", "--verbosity", "info"}
	StackArgsBuild = []string{"--copy-bins", "--no-haddock", "--no-open", "--no-haddock-internal", "--no-haddock-deps", "--no-keep-going", "--no-test", "--no-rerun-tests", "--no-bench", "--no-run-benchmarks", "--no-cabal-verbose", "--no-split-objs"}
)
View Source
var (
	HlintIgnore = []string{

		"Use infix",
		"Use camelCase",
		"Use String",
	}
)

Functions

func HasHsDevEnv

func HasHsDevEnv() bool

func LintHlint

func LintHlint(filerelpaths []string) (msgs udev.SrcMsgs)

Types

type Hlint

type Hlint struct {
	Module       string   `json:"module,omitempty"`
	Decl         string   `json:"decl,omitempty"`
	Severity     string   `json:"severity,omitempty"`
	Hint         string   `json:"hint,omitempty"`
	File         string   `json:"file,omitempty"`
	StartLine    int      `json:"startLine,omitempty"`
	StartColumn  int      `json:"startColumn,omitempty"`
	EndLine      int      `json:"endLine,omitempty"`
	EndColumn    int      `json:"endColumn,omitempty"`
	From         string   `json:"from,omitempty"`
	To           string   `json:"to,omitempty"`
	Note         []string `json:"note,omitempty"`
	Refactorings string   `json:"refactorings,omitempty"`
}

Jump to

Keyboard shortcuts

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