2022-02-04 17:50:18 +03:00
|
|
|
{
|
|
|
|
"repos": [
|
|
|
|
{
|
|
|
|
"hooks": [
|
|
|
|
{
|
|
|
|
"entry": "stylish-haskell --inplace",
|
2024-06-03 13:39:16 +03:00
|
|
|
"exclude": "(^Setup.hs$|test/testdata/.*$|test/data/.*$|test/manual/lhs/.*$|^hie-compat/.*$|^plugins/hls-tactics-plugin/.*$|^ghcide/src/Development/IDE/GHC/Compat.hs$|^plugins/hls-refactor-plugin/src/Development/IDE/GHC/Compat/ExactPrint.hs$|^ghcide/src/Development/IDE/GHC/Compat/Core.hs$|^ghcide/src/Development/IDE/Spans/Pragmas.hs$|^ghcide/src/Development/IDE/LSP/Outline.hs$|^plugins/hls-splice-plugin/src/Ide/Plugin/Splice.hs$|^ghcide/src/Development/IDE/Core/Rules.hs$|^ghcide/src/Development/IDE/Core/Compile.hs$|^plugins/hls-refactor-plugin/src/Development/IDE/GHC/ExactPrint.hs$|^plugins/hls-refactor-plugin/src/Development/IDE/Plugin/CodeAction/ExactPrint.hs$)",
|
2022-02-04 17:50:18 +03:00
|
|
|
"files": "\\.l?hs$",
|
|
|
|
"id": "stylish-haskell",
|
|
|
|
"language": "system",
|
|
|
|
"name": "stylish-haskell",
|
|
|
|
"pass_filenames": true,
|
|
|
|
"types": [
|
|
|
|
"file"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repo": "local"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"repo": "https://github.com/pre-commit/pre-commit-hooks",
|
|
|
|
"rev": "v4.1.0",
|
|
|
|
"hooks": [
|
|
|
|
{
|
|
|
|
"id": "mixed-line-ending",
|
|
|
|
"args": ["--fix", "lf"],
|
2022-07-29 09:03:09 +03:00
|
|
|
"exclude": "test/testdata/.*CRLF.*?\\.hs$"
|
2022-02-04 17:50:18 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|