haskell / haskell/stylish-haskell
Supporting more flexible configuration options
- 主要言語
- Haskell
- スター
- 1k
- フォーク
- 153
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
This is a bit of a brain dump...
We currently have a fork of stylish-haskell that matches the coding style we use at Silk. It does pretty specific things, like putting qualified imports at the bottom and doing numeric sorting where possible. I don't think it'd make sense to make a separate configuration option for this as "silk" is the only common denominator. But we also would rather not maintain a fork since this style is also used in our open source packages.
Could we keep the current defaults to not cause breakage but add more options for stylish so it's easier to customize? I thought a bit about the implementation and I think just using a Reader containing fine grained options would make the existing code cleaner and allow for easier extension.
The downside of this would be that there are a lot of things people might want to customize and if a lot of additions are submitted maintenance might become a pain. Especially since all the combinations need to play well together and some are mutually exclusive.
I'd appreciate some input on this!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。