Digitpaint Stylelint Configuration | CSS
Stylelint configuration for linting of stylesheets (CSS, SCSS, SASS)
About Stylelint configuration
https://stylelint.io/user-guide/configure/
How to use this package
Make sure you have a working Stylelint setup in your project
Install package
npm install @digitpaint/stylelint-config
How to include this in your Stylelint config
Add the following to your stylelint configuraiton
{
"extends": "@digitpaint/stylelint-config"
}
How to publish a new version of Digitpaint Stylelint Configuration
Login to NPM Registry
- You need access (or reach out to a colleague) to
devops@digitpaint.nl
mailbox - Login to the registry using
npm adduser
(see credentials in LastPass: npmjs.com) - Enter OTP sent by e-mail
Publish the package
- Make sure you have updated the version in
package.json
- Make sure you have tagged this version in the
main
branch in the remote repository - Run
npm publish