Broccoli plugin for validate .scss files.
This is a fork of broccoli-scss-lint that applies latest Broccoli changes and mutes logging for better integration.
npm install broccoli-scss-linter
Type: String
Default: ''
Specify a configuration file to use
####bundleExec
Type: Boolean
Default: false
Type: String
| Array
Default: Default
Output format (xml, config). If value of this option equals xml, option 'reportFile' cannot be empty. Also you can set format as array (['xml', 'default'], ['config', 'default'], ['config', 'default', 'xml']) in order to see errors in console and save result in xml file.
Type: String
Default: ''
File where will be saved report
Type: Boolean
Deafult: false
Enable progress output
var scssLint = require('broccoli-scss-lint');
// Validate with custom config
files = scssLint(tree, {
config: '.config.yml'
});
var scssLint = require('broccoli-scss-lint');
// Save xml report
files = scssLint(tree, {
format: 'xml',
reportFile: 'scss-lint-report.xml'
});