{"id":26358,"library":"sass-lint-brunch","title":"sass-lint-brunch","description":"sass-lint-brunch is a Brunch plugin that integrates sass-lint, a Node.js-based SCSS/SASS linter, into Brunch's build pipeline. Version 1.1.0 is the current stable release with no recent updates. It automatically lints all SCSS/SASS files during compilation, respecting Brunch's underscore-prefix ignore rule. Configuration is done via brunch-config.js, supporting custom sass-lint config files, options passthrough, and a warn-only mode to avoid breaking builds. Compared to alternatives like sass-lint-auto-fix, this plugin is minimal and focused on linting alone, with no auto-fix support.","status":"active","version":"1.1.0","language":"javascript","source_language":"en","source_url":"ssh://git@github.com/karlspalding/sass-lint-brunch","tags":["javascript"],"install":[{"cmd":"npm install sass-lint-brunch","lang":"bash","label":"npm"},{"cmd":"yarn add sass-lint-brunch","lang":"bash","label":"yarn"},{"cmd":"pnpm add sass-lint-brunch","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core linting functionality dependency","package":"sass-lint","optional":false},{"reason":"Required as a peer plugin for Brunch build tool","package":"brunch","optional":false}],"imports":[{"note":"Plugin is used via Brunch's plugin system, not imported directly.","wrong":"const sassLintBrunch = require('sass-lint-brunch')","symbol":"sassLintBrunch","correct":"import sassLintBrunch from 'sass-lint-brunch'"}],"quickstart":{"code":"npm install --save-dev sass-lint-brunch sass-lint\n\n// In brunch-config.js:\nmodule.exports = {\n  plugins: {\n    sassLint: {\n      options: {\n        rules: {\n          'no-ids': 2,\n          'no-important': 1\n        }\n      },\n      warnOnly: false\n    }\n  }\n};","lang":"javascript","description":"Installs the plugin and configures sass-lint with custom rules and warnOnly mode in brunch-config.js."},"warnings":[{"fix":"Switch to stylelint with the appropriate Brunch plugin (e.g., stylelint-brunch) and migrate your sass-lint config.","message":"sass-lint is deprecated in favor of stylelint","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Ensure you are not relying on linting partial files; rename them if necessary.","message":"Brunch ignores files starting with '_' by default; linting may not run on partial files","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Upgrade Node.js or consider alternative tools.","message":"Requires Node.js >= 4, which is EOL; may fail on newer Node versions","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install --save-dev sass-lint' to install the peer dependency.","cause":"sass-lint is not installed as a dependency.","error":"Error: Cannot find module 'sass-lint'"},{"fix":"Ensure the plugins section uses the correct key 'sassLint' as shown in the README.","cause":"Plugin not properly configured in brunch-config.js.","error":"Plugin sassLintBrunch is not a valid plugin"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}