Skip to content

feat: Add SCSS parsing support#112

Draft
nzakas wants to merge 2 commits into
mainfrom
scss
Draft

feat: Add SCSS parsing support#112
nzakas wants to merge 2 commits into
mainfrom
scss

Conversation

@nzakas

@nzakas nzakas commented Apr 10, 2025

Copy link
Copy Markdown
Member

Prerequisites checklist

What is the purpose of this pull request?

Adds SCSS parsing support.

What changes did you make? (Give an overview)

Added a new scss language that supports:

  • SCSS variable declaration ($foo: bar;)
  • SCSS variable usage (property: $foo)
  • @use rule
  • Module access (property: base.$foo)
  • @mixin rule
  • @include rule
  • @extend rule
  • @forward rule
  • @error, @warn, @debug rules
  • @function rule
  • @at-root rule
  • @if, @else rules
  • @each
  • @for, @while rules
  • Interpolation (#{ })
  • Placeholder selector (%message-shared {})
  • Nesting
  • Operators (this one looks the toughest -- not quite sure how to do this yet)

Related Issues

fixes #90

Is there anything you'd like reviewers to focus on?

@piotr-cz

This comment was marked as off-topic.

@lukeharby-edf

Copy link
Copy Markdown

Oh no, did this never get past a draft? I would find this very useful, unless it was superceeded by something else?

@nzakas

nzakas commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

It turned into way too much work and I couldn't find funding to pay for the time it would take to complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change Request: support linting .scss files

3 participants