A Grunt plugin that wraps the Ruby scss-lint gem (scss_lint) to validate .scss files. Version 0.5.0 is the last release before deprecation; requires Ruby >= 1.9, scss_lint gem, and Grunt >= 0.4.0. Provides options like bundleExec, colorizeOutput, compact reporting, config, gemVersion, exclude, reporterOutput, emitError/emitSuccess, and failOnWarning. It runs the Ruby gem as a child process, so it's slower than pure JS linters like stylelint; it relies on an external Ruby dependency and is unmaintained.
npm install grunt-scss-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic Gruntfile configuration to lint all .scss files with scss-lint using the grunt-scss-lint plugin.
Migrate to stylelint with scss plugin: https://github.com/stylelint-scss/stylelint-scss
Install Ruby and run 'gem install scss_lint' or ensure bundler is configured correctly.
Upgrade to version 0.3.7+ or set the 'gemVersion' option to avoid confusion.
Set colorizeOutput: false on Windows or install 'gem install windows-pr win32console'.
Explicitly set config: '.scss-lint.yml' in your Gruntfile options.
Set failOnWarning: false in options to fail only on errors.
Run 'npm install grunt-scss-lint --save-dev' and ensure grunt.loadNpmTasks('grunt-scss-lint') is called.Install the gem: 'gem install scss_lint' or use bundleExec with Bundler.
Fix the reported issues in your .scss files or disable failOnWarning if warnings are acceptable.
Set compact: false in options, or update the scss_lint gem to a compatible version.