kolibri
kolibri copied to clipboard
feat: add stylelint configuration and update package.json for SCSS linting
This pull request introduces Stylelint integration across various packages in the project to enforce CSS and SCSS code quality standards. It also removes the ts-prune dependency and related scripts from the project. Below are the key changes grouped by theme:
Stylelint Integration:
- Added Stylelint configuration files (
.stylelintrc.json) to multiple packages, includingcomponents,samples/react, and themes (bwst,default,ecl, anditzbund). These configurations extendstylelint-config-standardandstylelint-config-recommended-scssand include rules for SCSS best practices. - Updated
lintscripts inpackage.jsonfiles of affected packages to include Stylelint checks for CSS and SCSS files. [1] [2] [3] [4] - Added Stylelint dependencies (
stylelint,stylelint-config-standard,stylelint-config-recommended-scss, andstylelint-scss) to thepackage.jsonfiles of relevant packages. [1] [2] [3] [4] - Updated
.stylelintignorein thecomponentspackage to excludesrc/assets/.
Dependency Cleanup:
- Removed the
ts-prunedependency and associated scripts from the rootpackage.json. This includes the removal of thets-prunescript and its invocation in thelintworkflow. [1] [2]
Development Environment:
- Updated
.vscode/settings.jsonto enable Stylelint validation for CSS, SCSS, Sass, and Less files.…ting
Refs: #7537
The A11y and PO reviews will only take place after all other DoD steps have been completed by the Developer:
- [x] Meaningful pull request title for the release notes
- [x] Pull request is linked to an issue and all changes relate to the issue
- [x] Tests to protect this code implemented (if applicable)
- [x] Manual test performed successfully (if applicable)
- [x] Documentation or migration has been updated (if applicable)
Netlify Draft Deployment URL: Logs: