Fynn Becker · @mvsde
133 followers · 1080 posts · Server mastodon.social

deprecated all stylistic rules and is also kinda moving in that direction.

Maybe it’s finally time to take a look at ? 🤔

But I definitely have to configure it so code stays readable and doesn’t become this mess of seemingly random line breaks.

Ever looked at what Prettier does to JS template literals? It’s certainly something 😬

stylelint.io/migration-guide/t

#prettier #stylelint #eslint

Last updated 3 years ago

Roni Laukkarinen · @rolle
2693 followers · 8442 posts · Server mementomori.social
Roni Laukkarinen · @rolle
2693 followers · 8442 posts · Server mementomori.social

"As of Stylelint v15 all style-related rules have been deprecated."

Even this sentence doesn't make any sense. Stylelint is all about styles.

I actually liked having formatting and pretty printing all in the stylelint itself without the need of other plugins.

Modularization goes too far sometimes. Just look at all the postcss plugins...

stylelint.io/migration-guide/t

#css #stylelint #webdev #prettier

Last updated 3 years ago

Roma Komarov · @kizu
276 followers · 258 posts · Server front-end.social

Remembered the time when I contributed to and did two PRs that are already merged:

1. github.com/stylelint/stylelint — makes the messages a bit more configurable for a number of rules.

2. github.com/stylelint/vscode-st — exposes one of the stylelint settings in its vscode extension.

Need to do this more.

#OpenSource #stylelint

Last updated 3 years ago

Fynn Becker · @mvsde
90 followers · 307 posts · Server mastodon.social

I spent the entire morning overhauling my configuration. Going through the list of rules and setting up *everything* is kinda fun 😁

Have to test this with a real project before release.

github.com/pangolinjs/stylelin

#stylelint

Last updated 3 years ago

Roma Komarov · @kizu
144 followers · 153 posts · Server front-end.social

There should be versions of `eslint-disable`, `stylelint-disable` (-line etc) that would instead of removing the errors & warnings, reduce the severity: removing the warnings, and making errors into warnings.

This way it would be possible to mark something be safe to pass the CI, but keep the visible warning.

Otherwise, we basically need to make a separate rule that targets the disabling comment for a specific rule and gives a warning for it, which is a bit meta.

#frontend #eslint #stylelint

Last updated 3 years ago

Ian VS · @IanVS
118 followers · 184 posts · Server fosstodon.org

Has anyone experimented with rome as a replacement for and / ? They've just released version 10 that is rewritten in , for crazy perf gains. I'm curious what the migration would be like. One downside is that it sounds like they don't support any kind of plugins, so far.

RT @sebmck: twitter.com/sebmck/status/1589

Announcement: rome.tools/blog/2022/11/08/rom

#prettier #eslint #stylelint #rustlang #javascript

Last updated 3 years ago