Skip to content

chore(deps): bump stylelint to 17.13.0 (#27702)#27703

Open
kheiner wants to merge 1 commit into
directus:mainfrom
kheiner:bump-stylelint
Open

chore(deps): bump stylelint to 17.13.0 (#27702)#27703
kheiner wants to merge 1 commit into
directus:mainfrom
kheiner:bump-stylelint

Conversation

@kheiner

@kheiner kheiner commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Scope

What's changed:

  • Bumps stylelint in pnpm-workspace from 16.26.1 to 17.13.0
    • stylelint@17.x ships with css-tree@3.2.1 which resolves a peer dependency mismatch that caused an internal crash on cursor: pointer (Bad Syntax reference: )
  • Fixes pre-existing violations that were uncaught before:

Potential Risks / Drawbacks

  • stylelint@17.x is a major version bump, but reviewing their migration guide I think we're in the clear.

Tested Scenarios

  • pnpm lint:style passes with zero violations

Review Notes / Questions

  • I only found this because I was trying to set up pre-push hooks to save my GitHub Actions minutes allowance without making myself look foolish with commits that fail basic tests. My guess is that everyone is just letting the runner do their tests or ignoring prior existing issues when their tests fail.

Note

Since this is dev only I didn't create a changeset file. I don't know if that's right or not, so feel free to tell me to add if necessary.

Checklist

  • Added or updated tests 🙅 not required
  • Documentation PR created 🙅 not required
  • OpenAPI package PR created 🙅 not required

- bump stylelint from 16.26.1 to 17.13.0
- remove `-webkit-*` from `user-select`, `appearance`, and `mask-image`
- change `px` to `rem` equivalent (related to directus#26826)
@kheiner kheiner marked this pull request as ready for review June 10, 2026 07:35
@kheiner kheiner requested a review from AlexGaillard as a code owner June 10, 2026 07:35
@kheiner

kheiner commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

There's also the possibility of overriding the dependent package (css-tree@3.2.1) that I just observed in a different PR:

"launch-editor>shell-quote": "1.8.4"

I think the rest will still be required to fix if the lighter bump is preferred.

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.

stylelint crashes with "Bad syntax reference: <cursor-predefined>" on cursor property

1 participant