Shareable stylelint config that disables all SCSS rules that conflict with Prettier, extending stylelint-config-prettier. Forked from stylelint-config-prettier to specifically handle SCSS rules. Current version 1.0.0 requires stylelint >=15.0.0 and Node 14, 16, or >=18. Key differentiator: allows using Prettier alongside stylelint without clashes, with a built-in CLI helper to verify configuration. Actively maintained alongside Prettier ecosystem.
npm install stylelint-config-prettier-scssVerified import paths — ran on the pinned version, not inferred.
Example .stylelintrc.json that applies standard CSS and SCSS configs, then overrides with Prettier-compatible SCSS rules.
If you need to disable stylistic rules beyond SCSS, install and extend stylelint-config-prettier directly in addition to stylelint-config-prettier-scss.
Use stylelint-config-prettier only if you need to disable non-SCSS rules from stylelint-config-standard; for SCSS-specific, use stylelint-config-prettier-scss.
Always put 'stylelint-config-prettier-scss' at the end of the extends array.
Also extend 'stylelint-config-prettier' if you need to disable CSS stylistic rules.
Ensure you have the latest version (1.0.0) and that stylelint-config-prettier-scss is last in extends.
Run 'npm install --save-dev stylelint-config-prettier-scss' and check that it is in node_modules.
Run 'npx stylelint-config-prettier-scss-check' instead.
Use 'extends: ["stylelint-config-prettier-scss"]' (array) instead of 'extends: "stylelint-config-prettier-scss"'.