Webpack plugin for running sass-lint on SCSS/SASS files during build. Version 1.0.4 is the latest and last release; the package depends on sass-lint ^1.8.0, which is itself deprecated in favor of stylelint. The plugin lints files based on a glob pattern and reports errors/warnings via webpack. Unlike loaders, this plugin works with non-JS files and supports integration with extract-text-webpack-plugin. It offers options for config file, context, ignore patterns, and fail-on-warning/error. No longer actively maintained; users should migrate to sass-lint alternatives.
npm install sasslint-webpack-pluginVerified import paths — ran on the pinned version, not inferred.
Shows how to configure sasslint-webpack-plugin with typical options: config file, context, ignore patterns, and fail-on-error.
Migrate to stylelint with webpack stylelint-webpack-plugin.
Use a modern linting plugin compatible with your webpack and Node versions.
Add 'extract-text-webpack-plugin' to ignorePlugins array in options.
Remove NoErrorsPlugin from webpack configuration or set failOnWarning to false.
Run 'npm install sass-lint@^1.8.0' to install the peer dependency.
Use 'const sassLintPlugin = require('sasslint-webpack-plugin');' and instantiate with 'new sassLintPlugin(options)'.Upgrade to a webpack 5 compatible lint plugin (e.g., stylelint-webpack-plugin).