sass - Message appears when running scsslint -
i following step step on https://www.npmjs.com/package/grunt-scss-lint have installed everything, , seems working fine when type in terminal 'scss-lint'.
however want running in grunt
gruntfile:
scsslint: { allfiles: [ 'src/scss/**/*.scss', ], options: { bundleexec: true, config: '.scss-lint.yml', reporteroutput: 'scss-lint-report.xml', colorizeoutput: true } }, grunt.registertask('default', ['js', 'html', 'scsslint',]);
so type in grunt in terminal run tasks , in terminal - pops up:
running "scsslint:allfiles" (scsslint) task
running scss-lint on allfiles
- please make sure have ruby installed:
ruby -v
- install
scss-lint
gem running: gem update --system && gem install scss-lint
running through grunt not work typing scss-lint in terminal works. did following message message not disappear
your problem related bundleexec
parameter. if set true
, plugin expect gem installed via bundler.
set false
, , work.
scsslint: { allfiles: [ 'src/scss/**/*.scss', ], options: { bundleexec: false, config: '.scss-lint.yml', reporteroutput: 'scss-lint-report.xml', colorizeoutput: true } }, grunt.registertask('default', ['js', 'html', 'scsslint',]);
Comments
Post a Comment