We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2464a9e commit 18bb0ceCopy full SHA for 18bb0ce
src/rules/newline-after-import.js
@@ -81,14 +81,14 @@ module.exports = {
81
function setOptions(context) {
82
if (context.options[0]) {
83
if ('count' in context.options[0] && 'considerComments' in context.options[0] ) {
84
- return context.options[0]
+ return context.options[0];
85
} else if ( 'count' in context.options[0] ) {
86
return Object.assign({}, context.options[0], { considerComments: false });
87
} else {
88
return Object.assign({}, context.options[0], { count: 1 });
89
}
90
91
- return options = { count: 1, considerComments: false };
+ return { count: 1, considerComments: false };
92
93
94
function checkForNewLine(node, nextNode, type) {
0 commit comments