haskell / haskell/stylish-haskell

Make aligning of import lists configurable

Open
#66 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

Currently, `stylish-haskell` aligns import lists so that they all start in the same column. When adding new import statements with longer module names this thus changes all import statements with import lists (and bloats file diffs). Can we have this configurable?

**Example**

Starting with:

``` haskell
import Foo (foo)
```

Adding one import:

``` haskell
import Foo (foo)
import Baaaaaaar
```

Running `stylish-haskell`:

``` haskell
import Baaaaaaar
import Foo (foo)
```

What I'd like to see:

``` haskell
import Baaaaaaar
import Foo (foo)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.