Skip to content

Commit

Permalink
Update use-t-well.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus authored Apr 30, 2019
1 parent fb6e288 commit ab64fde
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rules/use-t-well.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ const create = context => {
context.report({
node,
message: 'Misspelled `falsy` as `falsey`.',
fix: fixer => {
return fixer.replaceTextRange(node.property.range, 'falsy');
}
fix: fixer => fixer.replaceTextRange(node.property.range, 'falsy')
});
} else if (stats.method.length > 1) {
context.report({
Expand Down

0 comments on commit ab64fde

Please sign in to comment.