Skip to content

Add eslint-plugin-sort-keys-fix for fixing key orders in objects. #17

@junhaoliao

Description

@junhaoliao

CommonConfig includes rule

"sort-keys": [
"warn",
"asc",
{allowLineSeparatedGroups: true, caseSensitive: true, minKeys: 5, natural: true},
],

, but the rule does not have an auto-fixer provided.

We can add https://www.npmjs.com/package/eslint-plugin-sort-keys-fix to auto sort the keys.

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