{"library":"sass-lint-auto-fix","title":"sass-lint-auto-fix","description":"A CLI tool that automatically fixes common sass-lint issues by parsing Sass/SCSS into an AST and modifying nodes to conform to rules defined in .sass-lint.yml. Currently at v0.21.2 (August 2020) with no updates since. It complements sass-lint (not stylelint) and supports SCSS and Sass syntax. Key differentiators: resolves issues via gonzales-pe AST manipulation; supports custom config files and husky pre-commit hooks. Alternatives: stylelint with --fix, Prettier. Note: sass-lint is deprecated in favor of stylelint, making this tool also effectively deprecated.","language":"javascript","status":"maintenance","last_verified":"Fri May 01","install":{"commands":["npm install sass-lint-auto-fix"],"cli":{"name":"sass-lint-auto-fix","version":null}},"imports":["const sassLintAutoFix = require('sass-lint-auto-fix')","npx sass-lint-auto-fix \"**/*.scss\"","// uses .sass-lint-auto-fix.yml automatically"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install as dev dependency\nnpm install --save-dev sass-lint-auto-fix sass-lint\n\n// Add to package.json\n{\n  \"scripts\": {\n    \"lint\": \"sass-lint -v\",\n    \"lint:fix\": \"sass-lint-auto-fix\"\n  }\n}\n\n// Run\nnpm run lint:fix\n\n// Or with npx (no install)\nnpx sass-lint-auto-fix \"src/**/*.scss\" --config-sass-lint .sass-lint.yml","lang":"javascript","description":"Shows install, script configuration, and running the auto-fix via CLI or npx.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}