haskell / haskell/stylish-haskell
[Feature request] Partitionate qualified and non-qualified imports
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
Would be great to regroup imports depending if they are qualified or not. For example,
```haskell
import A
import qualified B
```
could be transformed to:
```haskell
import A
import qualified B
```
and
```haskell
import A
import qualified B
import qualified C
import D
```
could be transformed to:
```haskell
import A
import D
import qualified B
import qualified C
```
This, in combination with these settings:
```yaml
steps:
- imports:
align: group
pad_module_names: true
```
would allow to align import lists without adding the ` qualified ` padding if they were in the same group. Also, they would look more organized.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.