Skip to content

Commit 82b4ff1

Browse files
committed
Add natural sorting to sort-keys rule
1 parent a42b029 commit 82b4ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
{ allowTemplateLiterals: false, avoidEscape: true }
4040
],
4141
'require-jsdoc': 'off',
42-
'sort-keys': ['warn', 'asc', { caseSensitive: false }],
42+
'sort-keys': ['warn', 'asc', { caseSensitive: false, natural: true }],
4343
'strict': ['error', 'safe']
4444
}
4545
}

0 commit comments

Comments
 (0)