stylus-example
Example project showing how stylelint can be used to lint Stylus files.
Getting Started
npm install
Testing in VS Code
- Install stylelint by Shinnosuke Watanabe
- Edit
~/.vscode/extensions/shinnn.stylelint-0.43.0/package.json
- In
activationEvents
, add"onLanguage:stylus",
(see example)
- In
- Reload VS Code
- Open
test.styl
and view linting errors
References
For more information, see https://github.com/shinnn/vscode-stylelint/pull/245