Grunt plugin for Node Sass Lint. Version 0.2.4 (latest as of 2021) is the final release; the package is unmaintained and sass-lint is deprecated in favor of stylelint. It allows linting .scss and .sass files with configurable rules, provides multiple formatters (stylish, junit, etc.), and integrates directly into Grunt workflows. However, both the plugin and its underlying linter are no longer active; stylelint with scss plugin is the recommended replacement.
npm install grunt-sass-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic Grunt task configuration to lint all .scss files in src/ using .sass-lint.yml config.
Migrate to stylelint and use stylelint-scss plugin for SCSS linting.
Move to a different task runner or use stylelint directly via CLI or Grunt-stylelint plugin.
Always specify a configFile option or create a .sass-lint.yml file.
Always use an array: target: ['src/**/*.scss'].
Use Node.js >=4.0.0 for reliable error reporting.
Add configFile: '.sass-lint.yml' to the sasslint options.
Run `npm install grunt-sass-lint --save-dev` and add `grunt.loadNpmTasks('grunt-sass-lint');` to Gruntfile.Run `npm install sass-lint --save-dev` alongside grunt-sass-lint.