feat: add stylelint configuration and update package.json for SCSS linting#7587
Merged
feat: add stylelint configuration and update package.json for SCSS linting#7587
Conversation
Contributor
|
Netlify Draft Deployment |
02aa279 to
d5b0045
Compare
8846f28 to
39828ad
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-prunedependency and related scripts from the project. Below are the key changes grouped by theme:Stylelint Integration:
.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.lintscripts inpackage.jsonfiles of affected packages to include Stylelint checks for CSS and SCSS files. [1] [2] [3] [4]stylelint,stylelint-config-standard,stylelint-config-recommended-scss, andstylelint-scss) to thepackage.jsonfiles of relevant packages. [1] [2] [3] [4].stylelintignorein thecomponentspackage to excludesrc/assets/.Dependency Cleanup:
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:
.vscode/settings.jsonto enable Stylelint validation for CSS, SCSS, Sass, and Less files.…tingRefs: #7537
The A11y and PO reviews will only take place after all other DoD steps have been completed by the Developer: