Sass Lint CLI
raw JSON → 0.0.5 verified Fri May 01 auth: no javascript deprecated
A CLI wrapper for sass-lint that provides command-line linting of SCSS files. Version 0.0.5 is the last release; the package is deprecated because sass-lint now includes its own built-in CLI. It lacks support for custom configuration files (always falls back to sample config), and predates sass-lint's official CLI integration. No longer maintained.
Common errors
error Error: Cannot read property 'options' of undefined ↓
cause Outdated sass-lint peer dependency not installed or version mismatch.
fix
Ensure sass-lint is installed and compatible (npm install sass-lint).
Warnings
deprecated This package is deprecated. Use sass-lint directly which now includes a built-in CLI. ↓
fix Switch to sass-lint (npm i -g sass-lint) and use its CLI commands.
gotcha Custom .sass-lint.yaml configuration files are not supported; falls back to sass-lint's default sample config. ↓
fix Use sass-lint directly for custom config support.
Install
npm install sass-lint-cli yarn add sass-lint-cli pnpm add sass-lint-cli Imports
- default
npm install -g sass-lint-cli
Quickstart
npm install -g sass-lint-cli
sl-cli src/**/*.scss
# Note: Custom config not supported; uses sass-lint sample config