There are many styling languages, ranging from CSS language extensions like SCSS to entirely different notations, e.g. CSS-in-JS objects.
These styling languages can be embedded within other languages too. For example:
<style>
tagsWe aim to support all these use cases in stylelint, but it’s a complicated endeavor.
We lean on PostCSS syntaxes to help us with this task. We use them to transform these languages into something that resembles CSS, which is the language that:
If you write your styles in anything other than CSS, please consider contributing to these syntaxes so that they can remain compatible with stylelint.