Skip to content

chore(deps): adopt stylelint 17 - #509

Merged
rubenvdlinde merged 1 commit into
developmentfrom
chore/adopt-stylelint-17
Aug 30, 2026
Merged

chore(deps): adopt stylelint 17#509
rubenvdlinde merged 1 commit into
developmentfrom
chore/adopt-stylelint-17

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Why dependabot could not land this

Dependabot proposed stylelint 17 on its own. That never resolves, because adopting it takes coordinated bumps and the one that actually blocks it is easy to miss:

Package To Why
@nextcloud/stylelint-config ^3.2.2 the version that peers stylelint ^17.9.1; 2.4.0 peers 15
stylelint ^17.9.1 the bump itself
stylelint-config-recommended-scss / -vue ^17.0.1 / ^1.6.1 where this app pins them
stylelint-webpack-plugin ^5.1.0 the real blocker. 5.0.1 peers stylelint only to ^16; 5.1.0 is the first release accepting ^17

What stylelint 17 then found

Fixed rather than silenced:

  • word-break: break-word is deprecated, and overflow-wrap: break-word is what it actually meant
  • the deprecated clip property becomes clip-path: inset(50%)
  • stylelint --fix logical-property rewrites (text-align: left to start), which are correct for RTL

Verified

npm ci, npm run stylelint and npm run build all exit 0.

Dependabot proposed stylelint 17 on its own, which cannot work: it takes
coordinated bumps, and the one that actually blocks it is easy to miss.

- @nextcloud/stylelint-config -> ^3.2.2, the version that peers stylelint ^17.9.1
- stylelint -> ^17.9.1
- stylelint-config-recommended-scss -> ^17.0.1 and -recommended-vue -> ^1.6.1
  where this app pins them
- stylelint-webpack-plugin -> ^5.1.0 where this app uses it. This is the
  blocker: 5.0.1 peers stylelint only to ^16, and 5.1.0 is the first release
  that accepts ^17.

The findings stylelint 17 then reports are fixed rather than silenced:
`word-break: break-word` is deprecated and `overflow-wrap: break-word` is what
it actually meant, the deprecated `clip` property becomes `clip-path`, and
stylelint --fix's logical-property rewrites (`text-align: left` -> `start`) are
correct for RTL.

Verified: npm ci, npm run stylelint and npm run build all exit 0.
@rubenvdlinde
rubenvdlinde merged commit 12ec4b5 into development Aug 30, 2026
34 checks passed
@rubenvdlinde
rubenvdlinde deleted the chore/adopt-stylelint-17 branch August 30, 2026 11:15
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/keepiq @ ffa6e0e

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-manifest
test-l10n
format
check-l10n-js
check-schema-l10n
composer ✅ 111/111
npm ✅ 536/536
app:check-code ⏭️
info.xml
REUSE
PHPUnit
Newman
Playwright 🚨 NO VERDICT — enabled but never ran
Hydra gates

Quality workflow — 2026-08-30 11:48 UTC

Download the full PDF report from the workflow artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant