kizu, 6 months ago to CSS New post: “Never Use ‘Scroll’ Value for Overflow” — about #CSS today! https://blog.kizu.dev/never-use-overflow-scroll/ This post is prompted by the website for the new “monaspace” family of fonts. The problem there was the scroll value for any of the overflow properties. Don’t use it. In my post, I tell why, and how this can be prevented by #stylelint (and better testing).
New post: “Never Use ‘Scroll’ Value for Overflow” — about #CSS today!
https://blog.kizu.dev/never-use-overflow-scroll/
This post is prompted by the website for the new “monaspace” family of fonts.
The problem there was the scroll value for any of the overflow properties. Don’t use it.
scroll
overflow
In my post, I tell why, and how this can be prevented by #stylelint (and better testing).
mvsde, 1 year ago to random #Stylelint deprecated all stylistic rules and #ESLint is also kinda moving in that direction. Maybe it’s finally time to take a look at #Prettier? 🤔 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 😬 https://stylelint.io/migration-guide/to-15
#Stylelint deprecated all stylistic rules and #ESLint is also kinda moving in that direction.
Maybe it’s finally time to take a look at #Prettier? 🤔
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 😬
https://stylelint.io/migration-guide/to-15