mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 09:47:56 +08:00
This also adds CC-BY-4.0 to the list of accepted licenses. DISABLE_THIRD_PARTY_CHECK=update dependencies Bug: chromium:1083142 Change-Id: I8612de2fba52dae32eeb71af79d5aacfde52142b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2220097 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Mathias Bynens <mathias@chromium.org>
879 B
879 B
Syntaxes
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:
- HTML
<style>tags - markdown fences
- JavaScript template literals
We 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:
- underpins all the other styling languages
- is best understood by rules built into stylelint
If you write your styles in anything other than CSS, please consider contributing to these syntaxes so that they can remain compatible with stylelint.