shareable stylelint configuration
npm install stylelint-config-xopConfiguration for Stylelint with SCSS syntax.
Compliant with version 4.4.0.
The configuration was build in order to support CSS Codeguide.
> ... code guide is designed for experienced developers in the first place, but hopefully could be a great source of knowledge for the beginners.
> Basically this documentation is about how to work in team with 250+ style files and feel comfortable about that ...
Please notice, that some codestyle rules are not supported yet.
Refer to this issue to stay tuned.
``bash`
$ npm install --save-dev stylelint-config-xop
In your .stylelintrc or config.json:
`json
{
"extends": "stylelint-config-xop",
"rules": {
}
}
`
More info in official docs.
You can run tests and check if current version of Stylelint is compliant with the current config:
`bash`
$ npm test
Put your *.scss in /examples folder and lint them along with the present files:
`bash``
$ npm run lint