cloudfour / cloudfour/stylelint-config-cloudfour

Should This Config Include Sass Rules?

Open
#638 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
1
Avg merge
5h 11m
Merged PRs (30d)
10

Description

This config includes Sass rules, but we use the config in every project, even those that don't use Sass. This sometimes causes problems, like rules intended for Sass colliding is new native CSS features. Is there a better way to handle this? Can we scope the Sass rules to files with Sass extensions? What about Vue components with ``?

If it's not possible to scope based on Sass usage, should we consider dropping the Sass rules? We're using Sass less and less on new projects, but older projects that are still supported retain it. Maybe this config should split into two? The outcome of this issue should be to thoroughly investigate our options and make a recommendation about if and how to change this config.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the shareable config's Sass rules and how consumers select them; compare behavior for Sass files, native CSS, and Vue components with lang="scss". Document whether file- or syntax-based scoping is supported, then recommend scoped rules, a split config, or removal based on compatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, sass
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.