Skip to content

feat: Add SCSS parsing support #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

feat: Add SCSS parsing support #112

wants to merge 2 commits into from

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented Apr 10, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Needs Triage
Development

Successfully merging this pull request may close these issues.

Change Request: support linting .scss files
1 participant