This repository was archived by the owner on Feb 16, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on Feb 16, 2021. It is now read-only.
CSS AST #3
Copy link
Copy link
Closed
Labels
💬 type/discussionThis is a request for commentsThis is a request for comments🧘 status/waitingThis may go somewhere but needs more informationThis may go somewhere but needs more information
Description
Shawn did some early work mapping a CSS (sass, scss, less, ...) syntax tree to unist in sast. Maybe we can standardise it into it’s own re* ecosystem? It’s based on gonzales.
Now, making an organisation around this isn’t very hard, as @ChristianMurphy recently showed with redot. Creating an ecosystem with useful plugins is and that takes up a lot of time. A few years ago I created rehype because I wanted to lint HTML. Parsing HTML isn’t very hard, so creating the processor was relatively easy. Validating HTML is. And I still haven’t been able to finish the linting plugin.
So, although I think this is super interesting, and some of the ground work is done already, I’m wondering:
- What’s the benefit of creating a unist namespace for css, and a unified processor around it? There’s already postcss around and it’s pretty established.
- Should related languages like sass, scss, less be supported?
- Should gonzales be used as a base?
ChristianMurphy
Metadata
Metadata
Assignees
Labels
💬 type/discussionThis is a request for commentsThis is a request for comments🧘 status/waitingThis may go somewhere but needs more informationThis may go somewhere but needs more information