shake-ext-3.1.1.0: Helper functions for linting with shake

Safe HaskellNone
LanguageHaskell2010

Development.Shake.Linters

Contents

Synopsis

Documentation

tomlcheck :: Action () Source #

Check all .toml files using tomlcheck.

yamllint :: Action () Source #

Lint all files ending in yaml or yml using yamllint.

hlint :: [FilePath] -> Action () Source #

Lint all .hs, .hsig, and .hs-boot files using hlint.

shellcheck :: [FilePath] -> Action () Source #

Lint .sh files using shellcheck.

ghc :: [FilePath] -> Action () Source #

Check Haskell files using ghc.

dhall :: Action () Source #

Check all .dhall files.

madlang :: [FilePath] -> Action () Source #

Check all .mad files.

Formatters

clangFormat :: [FilePath] -> Action () Source #

Check that given files are formatted according to clang-format

atsfmt :: [FilePath] -> Action () Source #

Check that given files are formatted according to atsfmt

stylishHaskell :: [FilePath] -> Action () Source #

Check that given files are formatted according to stylish-haskell

cFormat :: Action () Source #

Check all .c files using clang-format.

File detection