Skip to content

Commit

Permalink
Remove default-param-last rule
Browse files Browse the repository at this point in the history
There are many cases where it's completely valid to have default paremeter in the middle of arguments. For example, some options and then a callback.
  • Loading branch information
sindresorhus committed Jan 10, 2022
1 parent 8f4120c commit 5f341e2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ module.exports = {
curly: 'error',
'default-case': 'error',
'default-case-last': 'error',
'default-param-last': 'error',
'dot-notation': 'error',
'dot-location': [
'error',
Expand Down

0 comments on commit 5f341e2

Please sign in to comment.