2.0.0 • Published 7 years ago
stylelint-config-crowdlab v2.0.0
stylelint-config-crowdlab
Stylelint configuration used by CrowdLab
Currently based on
stylelint-config-standard
with some additions:
Usage in CrowdLab UI
The easiest way to use this configuration is by copying the package boilerplate, which includes it by default. You don't need to install it separately in CrowdLab UI projects.
Usage Outside of CrowdLab UI
If you want to use this package outside of the CrowdLab UI project, you can install and use it with the following steps.
Install
yarn add -D stylelint-config-crowdlab
Usage
Create a file named .stylelintrc
with following contents in the root folder of your project:
{
"extends": "stylelint-config-crowdlab",
"rules": {
// Add overrides and additional rules here
}
}
That's it! You can override the settings from stylelint-config-crowdlab
by editing the .stylelintrc
file. Learn more about configuring stylelint on the stylelint documentation.