matejlatin / Gutenberg

A meaningful web typography starter kit.
Other
2.84k stars 159 forks source link

Add Gulp Stylelint scss Plugin #41

Closed ddiddi closed 8 years ago

ddiddi commented 8 years ago

26

This commit adds the Gulp and Stylelint dependency parameters in package.json, Sets up the configure files gulpfile.js (which is similar to Grunt's Gruntfile.js) and adds rules (I need help with this part).

The default yml rule config provided by scss-lint is far more comprehensive that the basic .stylelintrc.yaml file in this commit. I was not able to find a one-to-one mapping for all the linting rules in the scss-lint yml config for the .stylelintrc.yaml file.

Currently on executing 'gulp' it produces some errors with CSS indentation and Syntax issues which may be due to the rules.

matejlatin commented 8 years ago

@ddiddi why adding gulp tasks? There's only grunt tasks in this project...

marcobiedermann commented 8 years ago

@ddiddi I suggest using grunt-postcss and stylelint