Something else that I recently came across- <a href="https://japgolly.github.io/scalacss/book/quickstart/standalone.html" rel="nofollow">https://japgolly.github.io/scalacss/book/quickstart/standalo...</a><p>Typesafe css, so you wouldn't spell px as xp.<p>Stylelint isn't just a linter- it's also a checker. And looks like it does both jobs well. scala-css does the checker job very well, maybe better if it understands the fields (I don't know if it does).
This is nice, and I tried it out... and it's led to a general CSS question.<p><pre><code> #ff9f
</code></pre>
Is that valid? What colour is that?!
Much love for Stylelint. My last company had some unique style guide rules, and I was able to encode all of them in Stylelint with only a few custom rules. The custom rules were very easy to write and plug in, and everything auto-fixes. Absolutely eliminated a large chunk of developer time wasted in code reviewing the wrong things.
This is neat, but:<p>`npm install stylelint --save-dev`<p>I really wish people wouldn't write cli tools in Javascript. Npm is a disaster and will pollute my system with all kinds of dependency libraries if I run the above command. It would be great to see more tools like this written in Go, Rust or something else that compiles to a static binary.