haskell / haskell/stylish-haskell
Special comments to disable formatting in a region of lines
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
My team at my job is considering expanding our use of `stylish-haskell`. But we have some _sections_ of code that we don't want to style. I'm not seeing anyway to annotate parts of my code (eg a top-level declaration, or an interval of lines) so that `stylish-haskell` will leave them unchanged. Please let me know if that feature already exists.
If it indeed does not yet exist, then this Issue would be closed by a PR that introduced feature parity with this `ormolu` PR, for example https://github.com/tweag/ormolu/pull/556 ... ie a somewhat flexible way to "protect" those pieces of code that I carefully manually formatted from the formatter. Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.