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_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
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"` }
Click to show internal directories.
Click to hide internal directories.