broccoli-scss-lint
v0.0.4
Published
Broccoli plugin for validate .scss files
Downloads
5
Maintainers
Readme
broccoli-scss-lint
Broccoli plugin for validate .scss files
Dependencies
Installation
npm install broccoli-scss-lint
Options
config
Type: String
Default: ''
Specify a configuration file to use
####bundleExec
Type: Boolean
Default: false
format
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.
reportFile
Type: String
Default: ''
File where will be saved report
Examples
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'
});
Release History
0.0.4 - Added option bundleExec.
0.0.3 - Bugfixes.
0.0.2 - Added opportunity set format as array, fix bugs.
0.0.1 - First release