Skip to content

Commit 18bb0ce

Browse files
committed
add fixes
1 parent 2464a9e commit 18bb0ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/rules/newline-after-import.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ module.exports = {
8181
function setOptions(context) {
8282
if (context.options[0]) {
8383
if ('count' in context.options[0] && 'considerComments' in context.options[0] ) {
84-
return context.options[0]
84+
return context.options[0];
8585
} else if ( 'count' in context.options[0] ) {
8686
return Object.assign({}, context.options[0], { considerComments: false });
8787
} else {
8888
return Object.assign({}, context.options[0], { count: 1 });
8989
}
9090
}
91-
return options = { count: 1, considerComments: false };
91+
return { count: 1, considerComments: false };
9292
}
9393

9494
function checkForNewLine(node, nextNode, type) {

0 commit comments

Comments
 (0)