nabaroa / stylelintrc

Style linter configuration to maintain your CSS pretty =^_^=

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.stylelintrc

Add the .stylelintrc file on the root of your project in order to have a config file to lint the styles.

Stylelint info

How to use

npm install -g stylelint

Autofixing errors:

stylelint "foo/**/*.css | less | scss" --fix

The errors that couldn´t be fixed appear on the console and must be fixed by hand.

About the rules

The rules used in .stylelintrcis a mix between stylelint-config-recommended and stylelint-config-standard

About

Style linter configuration to maintain your CSS pretty =^_^=