1.0.2 • Published 3 years ago
@acolorbright/stylelint-config-acb v1.0.2
stylelint-config-acb
Stylelint config providing ACB's standard linting setup for styles.
Installation
$ npx install-peerdeps -D @acolorbright/stylelint-config-acb && npm install -DE @acolorbright/stylelint-config-acb@latest
Since install-peerdeps
doesn't have a flag to pin the exact version of the installed peer dependencies it's advisable to pin the installed versions in package.json
by hand.
Usage
To start using this configuration, simply extend this package in your Stylelint configuration.
{
"extends": "stylelint-config-acb",
"rules": {
// Add additional rules here
}
}
For more information on configuring Stylelint, check out the configuration guide.
Property Ordering
Property ordering is performed according to the SMACSS methodology.
Refer to here for the comprehensive list of property orders.