SCSS-Lint Auto Correct scripts
Switch branches/tags
Clone or download
troelskn Merge pull request #14 from Dorian/bug/overeager-matching-selector
Fixed bug in regexp matching mixins as selectors
Latest commit ae839c0 Jan 8, 2018

README.md

scss-lint-auto-correct

SCSS-Lint Auto Correct scripts

WARNING: Every script was hacked together really quickly and is tested only on one codebase. Some of them may butcher your code base, so make sure you have backups.

I would more than welcome contributions to clean up that mess, add tests, etc...

Installation

gem install scss_lint-auto_correct

USAGE:

Pass path to a file or folder to apply corrections. E.g.:

scss-lint-auto-correct app/assets/stylesheets/application.scss

or

scss-lint-auto-correct app/assets/stylesheets

This will run all corrections on the target file(s)