SCSS linter for Brackets
- Brackets (tested with v0.44+)
- Ruby 1.9.3+
- scss-lint (tested with 0.37.0)
- (use
gem install scss_lint
after installing Ruby)
- (use
Put your scss-lint rules in a file named .scss-lint.yml
in the root of your project.
The extension has two configuration options you can set in your Brackets preferences file.
If brackets-scss-lint can't find your scss-lint gem, you can tell it where it's located via the following option:
"scsslint.gemDir": "/dir/where/scsslint/is/installed/"
The default gemDir is an empty string.
If you're linting large scss files and are getting an error saying "Too many errors. Try a smaller file or setting scsslint.maxBuffer config.", you can increase the default Node buffer size via the following option:
"scsslint.execMaxBuffer": 409600
The default execMaxBuffer value is 204800