Skip to content

Commit 2f2610f

Browse files
committed
Keep oxfmt at ^0.34.0 and remove .prettierignore
oxfmt 0.40 reformats template literal expressions in ways that break CSS selector semantics (e.g. &:${expr} → &: ${expr}). Rather than sprinkling inline ignores across many files, keep the old version. https://claude.ai/code/session_016Zjse7g4xyEjdLH7aX1vpu
1 parent c16b9ad commit 2f2610f

4 files changed

Lines changed: 87 additions & 89 deletions

File tree

.prettierignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"eslint-plugin-storybook": "10.2.19",
8585
"knip": "^5.86.0",
8686
"lefthook": "^2.1.4",
87-
"oxfmt": "^0.40.0",
87+
"oxfmt": "^0.34.0",
8888
"oxlint": "^1.55.0",
8989
"oxlint-tsgolint": "^0.16.0",
9090
"path-browserify": "^1.0.1",

pnpm-lock.yaml

Lines changed: 81 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-cases/lib/helpers.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,11 @@ export const scrollFadeMaskStyles = (size: number, direction?: "top" | "bottom"
239239
to bottom,
240240
${direction === "top" || direction === "both" ? "transparent, black var(--fade-size)," : ""}
241241
black,
242-
${direction === "bottom" || direction === "both"
243-
? "black calc(100% - var(--fade-size)), transparent"
244-
: ""}
242+
${
243+
direction === "bottom" || direction === "both"
244+
? "black calc(100% - var(--fade-size)), transparent"
245+
: ""
246+
}
245247
);
246248
`;
247249

0 commit comments

Comments
 (0)