stylish-haskell-0.15.0.0: Haskell code prettifier
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Haskell.Stylish.Config

Documentation

data ConfigSearchStrategy Source #

Constructors

UseConfig FilePath

Don't try to search, just use given config file

SearchFromDirectory FilePath

Search for .stylish-haskell.yaml starting from given directory. If not found, try all ancestor directories, $XDG_CONFIG/stylish-haskell/config.yaml and $HOME/.stylish-haskell.yaml in order. If no config is found, default built-in config will be used.

SearchFromCurrentDirectory

Like SearchFromDirectory, but using current working directory as a starting point