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

  1. please make sure have ruby installed: ruby -v
  2. 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

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -