chore(deps): bump stylelint to 17.4.0 and stylelint-config-standard t…#1156
chore(deps): bump stylelint to 17.4.0 and stylelint-config-standard t…#1156JohnVillalovos merged 1 commit intodevelopfrom
Conversation
0edfa93 to
7f26ae6
Compare
There was a problem hiding this comment.
Pull request overview
Updates the frontend linting toolchain by bumping Stylelint + the standard config together (to satisfy peer deps), and applies the minimal CSS changes needed to pass the newly enabled rules.
Changes:
- Bump
stylelintto17.4.0andstylelint-config-standardto40.0.0. - Update CSS to address new lint rules (
color-function-alias-notation,property-no-deprecated). - Regenerate
package-lock.jsonto reflect the new dependency graph.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updates Stylelint-related devDependencies to the new compatible versions. |
| package-lock.json | Locks updated Stylelint + transitive dependency updates. |
| Web/css/schedule.print.css | Replaces deprecated page-break-after with modern fragmentation property. |
| Web/css/schedule.css | Updates color function usage to satisfy new Stylelint rule. |
| Web/css/librebooking.css | Updates color function usage to satisfy new Stylelint rule. |
You can also share your feedback on Copilot code review. Take the survey.
7f26ae6 to
e828f1a
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates the frontend CSS linting toolchain by upgrading Stylelint and the standard config to versions that are mutually compatible (stylelint-config-standard@40 requires stylelint@>=17), and adjusts a few CSS declarations to satisfy newly enabled rules.
Changes:
- Bump
stylelintto^17.4.0andstylelint-config-standardto^40.0.0. - Update CSS to comply with new rules (
rgba()→rgb()modern syntax;page-break-after→break-after).
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updates Stylelint-related devDependencies to the new major versions. |
| package-lock.json | Regenerates lockfile to reflect the new Stylelint dependency graph and engine constraints. |
| Web/css/schedule.print.css | Replaces deprecated print fragmentation property with modern equivalent. |
| Web/css/schedule.css | Updates color function usage to match upgraded Stylelint rules. |
| Web/css/librebooking.css | Updates color function usage to match upgraded Stylelint rules. |
You can also share your feedback on Copilot code review. Take the survey.
…o 40.0.0 Bump both packages together as they have a mutual peer dependency (stylelint-config-standard 40 requires stylelint >= 17). Fix 4 new violations introduced by the upgraded rule set: - rgba() → rgb() (color-function-alias-notation) in 3 places - page-break-after → break-after (property-no-deprecated) in 1 place Related to #1152 Related to #1154
e828f1a to
528f486
Compare
…o 40.0.0
Bump both packages together as they have a mutual peer dependency (stylelint-config-standard 40 requires stylelint >= 17).
Fix 4 new violations introduced by the upgraded rule set:
Related to #1152
Related to #1154