Broccoli plugin that integrates sass-lint for linting SCSS/SASS files in Broccoli build pipelines. Version 3.1.0 is the latest, targeting Node ≥0.10.0. It wraps sass-lint, providing a config option for custom lint rules. Limited maintenance; the underlying sass-lint has been deprecated in favor of stylelint with SCSS plugin. Use this only for legacy Broccoli projects stuck on sass-lint.
npm install broccoli-scss-linterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: create a ScssLinter instance for a directory, optionally with a config file, and integrate into Broccoli pipeline.
Wrap the input node in an array: new ScssLinter([inputNode], options)
Migrate to stylelint with @stylelint/postcss-css-in-js or similar for Broccoli.
Use CommonJS require() instead of ES import.
Run: npm install sass-lint --save-dev
Use require('broccoli-scss-linter') (CommonJS) and ensure to use new keyword.Provide absolute or relative path from the project root; ensure file exists.