ericalli / static-site-boilerplate

A better workflow for building modern static websites.
http://staticsiteboilerplate.com
MIT License
1.73k stars 165 forks source link

CSS (SCSS) parsing very strict #21

Closed DESIGNfromWITHIN closed 5 years ago

DESIGNfromWITHIN commented 5 years ago

I try to add some SCSS, nothing special.

But get all kinds of errors:

ERROR in src/stylesheets/styles.scss
1:2   ×  Expected newline after ","                                 selector-list-comma-newline-after
2:6   ×  Expected indentation of 2 spaces                           indentation
1:12  ×  Expected newline after ","                                 selector-list-comma-newline-after
4:1   ×  Expected empty line before rule                            rule-empty-line-before
8:3   ×  Expected empty line before comment                         comment-empty-line-before
26:1   ×  Expected empty line before rule                            rule-empty-line-before

How can I disable this strict parsing?

iign commented 5 years ago

You should be able to tweak your rules in file /.stylelintrc.js