Webpack loader that runs scss-lint to enforce SCSS best practices. This package (v1.0.1) is a thin wrapper around scss-lint, with no active development since 2017. It lacks support for modern Webpack 5+, and scss-lint itself was deprecated and replaced by stylelint. Use 'stylelint-webpack-plugin' instead. Release cadence: no releases since initial 1.0.0/1.0.1.
npm install scss-lint-loaderNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure scss-lint-loader in Webpack to lint SCSS files using a custom config file and fail on errors.
Migrate to stylelint-webpack-plugin with appropriate SCSS rules.
Ensure scss-lint is installed: npm install -g scss-lint or npm install --save-dev scss-lint.
Use stylelint-webpack-plugin or disable the loader.
Install scss-lint: npm install -g scss-lint or npm install --save-dev scss-lint
Create a .scss-lint.yml or specify config option in loader.
Use as a Webpack loader string, not a direct require.