File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,19 +76,19 @@ module.exports = {
76
76
create ( context ) {
77
77
let level = 0 ;
78
78
const requireCalls = [ ] ;
79
- let options = setOptions ( context ) ;
79
+ const options = setOptions ( context ) ;
80
80
81
81
function setOptions ( context ) {
82
82
if ( context . options [ 0 ] ) {
83
83
if ( 'count' in context . options [ 0 ] && 'considerComments' in context . options [ 0 ] ) {
84
- return context . options [ 0 ]
84
+ return context . options [ 0 ] ;
85
85
} else if ( 'count' in context . options [ 0 ] ) {
86
86
return Object . assign ( { } , context . options [ 0 ] , { considerComments : false } ) ;
87
87
} else {
88
88
return Object . assign ( { } , context . options [ 0 ] , { count : 1 } ) ;
89
89
}
90
90
}
91
- return options = { count : 1 , considerComments : false } ;
91
+ return { count : 1 , considerComments : false } ;
92
92
}
93
93
94
94
function checkForNewLine ( node , nextNode , type ) {
You can’t perform that action at this time.
0 commit comments