Analysis updated 2026-07-03
Lint all SCSS files in a project to catch indentation errors, unnecessary units, and style inconsistencies before committing.
Configure a YAML rules file to enforce your team's SCSS style guide with per-rule severity levels.
Integrate scss-lint into a Git hook or CI pipeline to block commits that contain style violations.
Generate a starter config that disables all currently failing rules so you can enable and fix them one by one.
| sds/scss-lint | jwt/ruby-jwt | mikel/mail | |
|---|---|---|---|
| Stars | 3,669 | 3,670 | 3,665 |
| Language | Ruby | Ruby | Ruby |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Ruby 2.4+ and Sass 3.5.5+, note that the underlying Ruby Sass library is deprecated, consider stylelint for new projects.
scss-lint is a command-line tool that checks SCSS files for style and consistency issues. SCSS is a stylesheet language that extends CSS with features like variables and nesting, scss-lint reads your SCSS files and reports problems such as inconsistent indentation, unnecessary units, or style choices that deviate from a configured set of rules. The goal is to keep stylesheets clean and consistent across a project, especially when multiple people are writing them. The tool is installed as a Ruby gem and run from the terminal against a folder or a set of files. When it finds something it objects to, it prints the filename and line number. You can configure which rules are active by creating a YAML config file in your project. Each rule, called a linter, can be turned on or off individually, and you can set its severity to either a warning or an error. Rules can also be disabled for specific files or even for specific lines within a file using inline comments. The README includes a prominent notice that should be read before adopting this tool. The underlying Ruby Sass library, which scss-lint depends on, is no longer actively maintained because the Sass team moved to a different implementation. This means scss-lint will eventually fall behind new Sass features. The README recommends considering stylelint as an alternative that is actively maintained and supports SCSS natively. Despite this notice, the project continues to accept pull requests and provide basic support. It integrates with several workflows: code review services, editor plugins, Git hooks, Rake build tasks, and a Maven plugin. The output format can be changed to suit different tools, and there is an option to generate a starting configuration file that disables all currently failing rules, so you can enable them one by one as you fix them. Requirements are Ruby 2.4 or higher and Sass 3.5.5 or higher. Files must be written in SCSS syntax, not the older indented Sass syntax.
A Ruby command-line linter for SCSS stylesheets that checks for indentation, style, and consistency issues using configurable per-rule YAML config, note: the underlying Ruby Sass library is deprecated and stylelint is now recommended instead.
Mainly Ruby. The stack also includes Ruby, SCSS, Sass.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.