I decided to lint my SCSS files and not the CSS files, because it’s kind of pointless to lint generated CSS. But you can do this with gulp-csslint.
$ npm install —-save-dev firstname.lastname@example.org email@example.com firstname.lastname@example.org
Additionally you’ll need to install the scss-lint Gem and run bundle install:
Add some options for jshint and scss-lint:
I ignore some files from checking (by adding a ! in front of the path), because I didn’t write them or don’t have control over the syntax.
Configuration of Syntax Check Tools
This article was first published on stefanimhoff.de