Skip to content

Commit

Permalink
Add default-case-last rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 2, 2021
1 parent 697d947 commit 1972f6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -93,6 +93,7 @@ module.exports = {
complexity: 'warn',
curly: 'error',
'default-case': 'error',
'default-case-last': 'error',
'default-param-last': 'error',
'dot-notation': 'error',
'dot-location': [
Expand Down

0 comments on commit 1972f6f

Please sign in to comment.