Skip to content

Commit

Permalink
chore(lint): fix linespace
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbcom committed Dec 31, 2023
1 parent 0f0fb2e commit 3bca8e8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ export const consistentDeviceConfigPropertyOrder: JSONCRule.RuleModule = {
0,
withRanges[0].property.loc.start.column,
);
// TODO: Change to .toSorted() once on node 20.
const desiredOrder = [...propsWithComments].sort((a, b) =>
// TODO: Change to .toSorted() once on node 20.
const desiredOrder = [...propsWithComments].sort((a, b) =>
a.index - b.index
).map((prop) => {
const start = Math.min(
Expand Down

0 comments on commit 3bca8e8

Please sign in to comment.