1.1.0 • Published 9 years ago
sass-lint-brunch v1.1.0
sass-lint-brunch
Adds sass-lint support to brunch.
Install
npm install --save-dev sass-lint-brunchUsage
The plugin will run automatically. Note that by default brunch ignores file names starting with an underscore.
Configuration
The following defaults can be overridden in brunch-config.js:
{
...
plugins: {
sassLint: {
file: '.sass-lint.yml',
options: {
...
},
warnOnly: false
}
}
...
}The file field can be used to specify an alternative YAML configuration for
sass-lint.
The options field is passed through unchanged to sass-lint.
If the warnOnly field is set to true, then linting failures will be
reported as warnings instead of errors, allowing Brunch to continue
compiling the affected source file(s) even if linting failures occur.