Gulp plugin for Sass Lint that lints SCSS/SASS files during a Gulp build. Current stable version is 1.4.0, with last release in 2017. It wraps sass-lint and provides Gulp-compatible streaming, formatting, and fail-on-error functionality. Key differentiators: integrates directly into Gulp pipelines, supports custom config files, inline rule disabling via source comments. Compared to stylelint or gulp-stylelint, it is specific to Sass (not PostCSS) and relies on the older sass-lint, which is no longer maintained. Release cadence: low/inactive.
npm install gulp-sass-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a Gulp task to lint all SCSS files, format output, and fail on lint errors.
Migrate to stylelint + @stylistic/stylelint-scss or sass-lint-auto-fix.
Pass rules at top level: sassLint({ rules: { 'no-ids': 1 } })Create a .sass-lint.yml file in project root or specify configFile path.
Use Node.js >=4 or stick to v1.2.x.
Use default import: import sassLint from 'gulp-sass-lint'
npm install sass-lint --save-dev
Ensure .sass-lint.yml is valid and follows sass-lint config spec.