stylelint-config-dn
v2.3.0
Published
To install this project, first ensure the required peer dependencies:
Downloads
525
Keywords
Readme
Stylelint Config Digital Natives
To install this project, first ensure the required peer dependencies:
yarn add stylelint@14 postcss@8 postcss-less stylelint-config-html stylelint-config-recommended postcss-html --dev
Add the stylelint rules to your project by running yarn add stylelint-config-dn --dev
and adding this ruleset manually to your .stylelintrc
file.
{
"extends": "stylelint-config-dn",
}
This package supports linting plain css, less, and vue SFC files.
Contributing
Please submit contributions through a merge request.
All commits on this repository MUST comply with the Conventional Commits Standard.
Running yarn install
on your local machine should enforce all local commits to adhere to this standard.
If you're new to conventional commits you're encouraged to use Comittizen to learn the ropes.
Releasing
Only package maintainers should release new versions.
A changelog is automatically maintained using standard-version.
Run yarn run release
to bump/tag the version, generate the changelog and immediately publish the next release
note: Don't fill out the version number in the prompt. Just immediatly press "enter". This is because
yarn run release
is a combination ofstandard-version
and vanilla yarnpublish
, where the latter will prompt you for a new version whichstandard-version
has already incremeted automatically.