Sass Lint
A Node-only Sass linter for both sass
and scss
syntax! See the sample config file to see how to write a configuration file, and our release issue to track what's missing for an initial release.
Install
npm install sass-lint@{{version-number}}
where {{version number}}
is the version number in package.json
Creating Rules
Our AST is Gonzales-PE. Each rule will be passed the full AST which they can traverse as they please. There are many different node types that may be traversed, and an extensive API for working with nodes. The file of the rule must have the same name as the name of the rule. All of the available rules are in our rules directory. Default options will be merged in with user config.
Road to Release
Keep track of the path to a full release. If you can help contribute by writing rules that are missing (or have a rule you really want to see in there and add), please do so! PRs accepted!
Task Runner Integration