File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ module.exports = {
130
130
{
131
131
vars : "all" , // check "all" variables (as opposed to just "local" variables)
132
132
args : "after-used" , // check any arguments that come "after-used" arguments
133
+ ignoreRestSiblings : true , // ignore siblings of ...rest params
134
+ argsIgnorePattern : "^_" , // Ignore variables and params that begin with an underscore
133
135
} ,
134
136
] ,
135
137
Original file line number Diff line number Diff line change @@ -405,6 +405,8 @@ module.exports = {
405
405
{
406
406
vars : "all" , // check "all" variables (as opposed to just "local" variables)
407
407
args : "after-used" , // check any arguments that come "after-used" arguments
408
+ ignoreRestSiblings : true , // ignore siblings of ...rest params
409
+ argsIgnorePattern : "^_" , // Ignore variables and params that begin with an underscore
408
410
} ,
409
411
] ,
410
412
Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ module.exports = {
106
106
"func-style" : [
107
107
"error" ,
108
108
"declaration" ,
109
+ {
110
+ allowArrowFunctions : true ,
111
+ }
109
112
] ,
110
113
111
114
/**
You can’t perform that action at this time.
0 commit comments