{"id":25217,"library":"ember-cli-scss-lint","title":"ember-cli-scss-lint","description":"Ember CLI addon that integrates sass-lint into the build pipeline, automatically linting SCSS files during ember serve, test, or build. Version 2.4.1 is the latest stable release; this package is in maintenance mode and relies on the deprecated sass-lint package (last released in 2018). It requires Ember.js v2.18+, Ember CLI v2.13+, and Node >=10. Differentiates from alternative Ember SCSS linting addons by using the Node.js-based sass-lint (not the Ruby scss-lint) and by being a straightforward drop-in that reads configuration from .sass-lint.yml or ember-cli-build.js.","status":"maintenance","version":"2.4.1","language":"javascript","source_language":"en","source_url":"https://github.com/tomasbasham/ember-cli-scss-lint","tags":["javascript","ember-addon","sass-lint","scss-lint","sass","scss","lint"],"install":[{"cmd":"npm install ember-cli-scss-lint","lang":"bash","label":"npm"},{"cmd":"yarn add ember-cli-scss-lint","lang":"bash","label":"yarn"},{"cmd":"pnpm add ember-cli-scss-lint","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required for addon to work with Ember CLI","package":"ember-cli-babel","optional":false}],"imports":[{"note":"You must use 'ember install' to ensure the addon is properly registered in the consuming app.","wrong":"npm install --save-dev ember-cli-scss-lint","symbol":"ember-cli-scss-lint","correct":"ember install ember-cli-scss-lint"},{"note":"The configuration key in ember-cli-build.js must be 'scssLintOptions', not 'scssLint'.","wrong":"let app = new EmberApp(defaults, { scssLint: { ... } });","symbol":"scssLintOptions","correct":"let app = new EmberApp(defaults, { scssLintOptions: { ... } });"},{"note":"The configuration file must be named .sass-lint.yml and placed in the root of the Ember project.","wrong":"Create .scss-lint.yml (for Ruby scss-lint) or .eslintrc (this is for JS).","symbol":".sass-lint.yml","correct":"Create a .sass-lint.yml file in the project root."}],"quickstart":{"code":"// Step 1: Install the addon\nember install ember-cli-scss-lint\n\n// Step 2: Create .sass-lint.yml in project root with sample rules:\n// files:\n//   include: '**/*.scss'\n// options:\n//   formatter: stylish\n//   merge-default-rules: false\n// rules:\n//   border-zero:\n//     - 1\n//     - convention: zero\n\n// Step 3: Run ember server – linting will happen automatically on build.\nember serve","lang":"javascript","description":"Installs the addon, adds a minimal .sass-lint.yml config, and triggers linting during an Ember build."},"warnings":[{"fix":"Migrate to stylelint with stylelint-scss (or use ember-cli-stylelint).","message":"This addon depends on sass-lint, which is deprecated and no longer maintained (last release 2018). Newer Ember projects should consider using sass-lint's successor, stylelint with stylelint-scss.","severity":"deprecated","affected_versions":">=2.0.0"},{"fix":"Ensure your Node.js version is 10 or higher (preferably LTS).","message":"Node.js 10 is the minimum required; Node 6 and 8 are no longer supported by the addon (engines field says >=10).","severity":"deprecated","affected_versions":">=2.4.0"},{"fix":"Consider moving to stylelint for SCSS linting; install ember-cli-stylelint and configure accordingly.","message":"The sass-lint package (not this addon) has been deprecated in favor of stylelint. This means no new rules or bug fixes will come from the underlying linter.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Upgrade your Ember CLI version to at least 2.13.","message":"Ember CLI versions before 2.13 are not supported (compatibility says v2.13+).","severity":"deprecated","affected_versions":"<2.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' (or 'yarn') to ensure sass-lint is installed as a transitive dependency.","cause":"The sass-lint package is missing from node_modules.","error":"Cannot find module 'sass-lint'"},{"fix":"Create a .sass-lint.yml file in the root of your Ember project with proper rules.","cause":"Missing or misnamed .sass-lint.yml file.","error":"No valid configuration file found"},{"fix":"Run 'ember install ember-cli-babel' then reinstall this addon.","cause":"Missing ember-cli-babel dependency.","error":"The addon 'ember-cli-scss-lint' requires the ember-cli-babel addon to be installed"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}