{"library":"sass-lint-webpack","title":"Sass Lint Webpack Plugin","description":"Webpack 4+ plugin that integrates sass-lint to lint SCSS/SASS files during the build process. Version 1.0.4 is the latest stable release. It delegates all linting to the sass-lint peer dependency and supports custom config files, glob patterns, and sass-lint options. Differentiators: lightweight wrapper specifically for Webpack 4+, not a loader but a Build plugin that runs linting on compilation. Requires Webpack 4+ and sass-lint ~1.12.1.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install sass-lint-webpack"],"cli":null},"imports":["const SassLintPlugin = require('sass-lint-webpack')"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const SassLintPlugin = require('sass-lint-webpack');\n\nmodule.exports = {\n  // ...\n  plugins: [\n    new SassLintPlugin({\n      // Optional: custom config file path\n      configPath: '.sass-lint.yml',\n      // Optional: files glob pattern\n      files: 'src/**/*.scss',\n      // Optional: pass sass-lint options directly\n      options: {\n        rules: {\n          'no-important': 1,\n          'indentation': [1, {'size': 2}]\n        }\n      }\n    })\n  ]\n};","lang":"javascript","description":"Shows how to configure SassLintPlugin in webpack.config.js with optional settings.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}