You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Used to be scss-lint. Note: the binary name is still scss-lint |
8 years ago | |
---|---|---|
node | 8 years ago | |
README.md | 8 years ago | |
main.js | 8 years ago | |
package.json | 8 years ago |
README.md
brackets-scss-lint
SCSS linter for Brackets
Requirements
- 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
scss-lint Configuration
Put your scss-lint rules in a file named .scss-lint.yml
in the root of your project.
brackets-scss-lint Configuration
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