Skip to content

Commit 061989f

Browse files
authored
Remove useless empty object in prevent-abbreviations (#414)
1 parent d279f2a commit 061989f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/prevent-abbreviations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ const create = context => {
647647
}
648648

649649
if (filenameWithExtension === '<input>' || filenameWithExtension === '<text>') {
650-
return {};
650+
return;
651651
}
652652

653653
const extension = path.extname(filenameWithExtension);

0 commit comments

Comments
 (0)