Skip to content

Commit 5f341e2

Browse files
committedJan 10, 2022
Remove default-param-last rule
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.
1 parent 8f4120c commit 5f341e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎index.js

-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ module.exports = {
106106
curly: 'error',
107107
'default-case': 'error',
108108
'default-case-last': 'error',
109-
'default-param-last': 'error',
110109
'dot-notation': 'error',
111110
'dot-location': [
112111
'error',

0 commit comments

Comments
 (0)
Please sign in to comment.