Skip to content

feat: support stylelint 18 - #24

Merged
Soner (shyim) merged 1 commit into
mainfrom
feat/stylelint-18
Nov 9, 2026
Merged

Soner (shyim) merged 1 commit into
mainfrom
feat/stylelint-18

Conversation

@shyim

Copy link
Copy Markdown
Contributor

Summary

Adds support for Stylelint 18, the current major release.

  • Migrated the wrong-scss-import rule from the removed context.fix API to the report({ fix }) callback.
  • Added meta.fixable = true so Stylelint treats the rule as autofixable.
  • Extended the Stylelint peer dependency range to ^16.0.0 || ^17.0.0 || ^18.0.0.
  • Added stylelint as a dev dependency via the workspace catalog so tests run against v18.
  • Strengthened autofix tests to assert the fixed output.

Verification

  • Manually verified linting and autofixing with Stylelint 16.21.1, 17.16.0, and 18.0.0.
  • pnpm run -r test passes.
  • pnpm oxlint and pnpm oxfmt:check pass.

@shyim
Soner (shyim) merged commit a80d063 into main Nov 9, 2026
3 checks passed
@shyim
Soner (shyim) deleted the feat/stylelint-18 branch November 9, 2026 00:25
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