SCSS linter for Brackets
- Brackets (tested with v0.44+)
- Ruby 1.9.3+
- scss-lint (tested with 0.37.0)
gem install scss_lintafter installing Ruby)
Put your scss-lint rules in a file named
.scss-lint.yml in the root of your project.
The extension has three 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:
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:
The default execMaxBuffer value is 204800
You can change the default location of you linting configuration file. The location is in reference to the project base directory.
The default is