Skip to content

Feature request : Align = and sort options (PR included). #192

Closed
@rquadling

Description

@rquadling

When putting INI files into a repo, having the entries alphabetically sorted vs being unsorted / unordered, helps a little.

The idea is that things exist in some order in many places in codebases. So when you are unfamiliar with a project and see unordered information ... the question that comes to mind is "What on earth is this order???".

The second thing is purely a cosmetic issue where some projects I've worked on like the = to align. Again, common for some languages.

The PR #190 covers both of these features.

I'm not a JS expert, but the tests I've written provide the consistent output.

I also added tests that covered all combinations of the options (simply as permutations matter sometimes).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions