@sikaeducation/stylelint-config
v2.0.0
Published
Linting and formatting for Sika's CSS and SCSS projects
Downloads
2
Readme
Sika's Stylelint Config
Install with npm install -D stylelint @sikaeducation/stylelint-config
.
Usage
npm i -D stylelint @sikaeducation/stylelint-config
// .stylelintrc.js
module.exports = {
extends: ["@sikaeducation/stylelint-config"],
};
Integrate this with your editor's stylelint plugin for fix-on-save. If the app is {"type": "module"}
, use .stylelintrc.cjs
.
Deployment
Set NPM_TOKEN
on GitHub Actions to publish. Generate it on Sika's npm page then add it to the secrets page.
Publish updates by incrementing the version with npm version patch|minor|major
and pushing.