broccoli-scss-lint

Broccoli plugin for validate .scss files

broccoli-scss-lint

Broccoli plugin for validate .scss files

  1. Ruby (Ruby 1.9.3+)
  2. scss-lint
npm install broccoli-scss-lint 

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

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'
});

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