Skip to content

Replace Prettier with Biome - #7584

Closed
fregante wants to merge 3 commits into
mainfrom
biome-css
Closed

fregante wants to merge 3 commits into
mainfrom
biome-css

Conversation

@fregante

@fregante fregante commented Jul 23, 2024 •

Copy link
Copy Markdown
Member

Missing:

@fregante fregante mentioned this pull request Jul 23, 2024
/* PR row, dim */
.rgh-dim-bots:not(.rgh-tagged, :hover) .Box-row--drag-hide {
.rgh-dim-bots:not(.rgh-tagged, :hover)
.Box-row--drag-hide {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like they treat the comments as part of the same line, so .rgh-dim-bots wrap it and indent it :(

inset 0 1px 2px rgb(35 27 27 / 7.5%),
0 0 0 0.2em color-mix(in srgb, var(--rgh-limit-color) 30%, transparent);
box-shadow: inset 0 1px 2px rgb(35 27 27 / 7.5%), 0 0 0 0.2em
color-mix(in srgb, var(--rgh-limit-color) 30%, transparent);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bad

@fregante

Copy link
Copy Markdown
Member Author

I think that overall it's an improvement over prettier, which just couldn't handle comments in selector functions

As for style lint, I'm not sure if it can be completely dropped yet. None of the inline-disabled issues are being caught by Biome

@fregante

fregante commented Jul 23, 2024 •

Copy link
Copy Markdown
Member Author

Closing for now, I'll revisit later on. CSS selector wrapping isn't strictly needed until we merge this:

which we can't until Safari fixes their CSS parser:

I think it can still be merged but without replacing Stylelint, at least not until:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant