18F / frontend

18F's Front End Guild –  content has been moved to https://github.com/18F/development-guide
Other
121 stars 29 forks source link

Add linting config for node based CSS/SCSS linter #131

Open el-mapache opened 8 years ago

el-mapache commented 8 years ago

We currently have a dependency on ruby to handle css linting in most of our front end apps. Ideally we should move to a node based solution. @shawnbot mentioned a tool called 'stylelint' that seems like a good fit. Most of the keys in our scss_lint.yml file map directly to rules in the stylelint library, hooray!

Rules that will require a custom plugin:

We've broken out the stylelint configs into a separate module (here: https://github.com/18F/18F-stylelint) which will eventually be available via npm.

Acceptance Critera:

shawnbot commented 8 years ago

Should we deprecate the scss-lint suggestions and config?

msecret commented 8 years ago

@shawnbot that's what I want to do; we might want to fix the ignore config issue on stylelint-rules soon though.