Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

any tools to automatically fix the complaints of scss-lint?

Tags:

sass

scss-lint

I use the scss-lint gem and just reordered and nested all my scss files to dissolve the complaints of the linter.

It's a lot of tedious work that should be automated but after searching quite a while i didn't find any tools that resolves the orders of the linter automatically.

Aren't there any tools like fixjsstyle that does automatically fix style problems detected by gjslint but for scss?

like image 509
StandardNerd Avatar asked Jun 10 '16 11:06

StandardNerd


1 Answers

Yes, https://github.com/srowhani/sass-lint-auto-fix has just been published.

It resolves some (please contribute!) of the sass-lint rules you've set in your .sass-lint.yml or .sasslintrc:

  • list of sass-lint rules: https://github.com/sasstools/sass-lint/tree/master/docs/rules
  • list of sass-lint-auto-fix resolvers: https://github.com/srowhani/sass-lint-auto-fix/tree/master/src/resolvers
like image 64
Stéphane Bruckert Avatar answered Sep 21 '22 18:09

Stéphane Bruckert