Simple guidelines and text-editor/ide configuration files shared across projects
Depending on your editor you can install Stylelint locally on your project or globally ( most of the times globally will work with every editor), Stylelint plugins need to be installed LOCALLY on your project.
Remember to use --save-dev
in your npm installation if you want to save those packages as dependencies in your project!
In your project root folder
$ npm install stylelint stylelint-order stylelint-scss
than configure the Stylelint package configuration with the local installation:
$ npm install -g stylelint-order
$ npm install stylelint-order stylelint-scss