Skip to content

Commit

Permalink
rm unneeded nullish check
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertAKARobin committed Jan 12, 2025
1 parent 2dfb80c commit 0e6aac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/sort-keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default {
const thisName = getKey(member);

if (prevMember) {
const prevLine = prevMember?.loc.end.line;
const prevLine = prevMember.loc.end.line;
const thisLine = member.loc.start.line;

const membersAreAdjacent =
Expand Down

0 comments on commit 0e6aac4

Please sign in to comment.