Linting
Bazel

Linting


haskell_lint

haskell_lint(name, deps)

Check source code of targets in deps using a restrictive set of GHC flags.

The following flags will be used:

  • -Wall
  • -Werror
  • -Wcompat
  • -Wincomplete-record-updates
  • -Wincomplete-uni-patterns
  • -Wredundant-constraints

Attributes

name

Name; Required

A unique name for this rule.

deps

List of labels; Optional; Default is []

List of Haskell targets to lint.