Skip to content

Commit

Permalink
Update sort-destructure-keys rule
Browse files Browse the repository at this point in the history
This adds the caseSensitive option to the sort-destructure-keys rule to
make it consistent with other sorting rules.
  • Loading branch information
bsonntag committed Oct 9, 2018
1 parent 6631872 commit cdc5d88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ module.exports = {
'require-yield': 'error',
semi: 'error',
'semi-spacing': 'error',
'sort-destructure-keys/sort-destructure-keys': 2,
'sort-destructure-keys/sort-destructure-keys': ['error', {
caseSensitive: true
}],
'sort-imports-es6/sort-imports-es6': ['error', {
ignoreCase: false,
ignoreMemberSort: false,
Expand Down

0 comments on commit cdc5d88

Please sign in to comment.