13

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?

StandardNerd
  • 4,093
  • 9
  • 46
  • 77

2 Answers2

5

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:

Stéphane Bruckert
  • 21,706
  • 14
  • 92
  • 130
0

No, but the sass team is working on it

Ari
  • 1,595
  • 12
  • 20