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.