Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/stylelint-18.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"diagnostics-webpack-plugin": patch
---

Accept `stylelint@18` in the optional peer dependency range.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ Both plugins become one, and every option they had is still here. What changed i

**The build is no longer aborted from inside the plugin.** A result reported as a webpack error fails the build the way every other webpack error does — `stats.hasErrors()` is true and the CLI exits non-zero — and the assets are still written. Nothing about severity depends on `mode` any more.

**Requirements.** Node `>= 22.12`, webpack `>= 5.106`, and ESLint 9 or 10 / Stylelint 17 for whichever checks you run.
**Requirements.** Node `>= 22.12`, webpack `>= 5.106`, and ESLint 9 or 10 / Stylelint 17 or 18 for whichever checks you run.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Functional Correctness · Quick win

Document the separate Node requirement for Stylelint 18.

Node 22.12 satisfies this line but is not supported by Stylelint 18.0.0. Its engine range is ^22.22.2 || ^24.15.0 || >=26.0.0. State that range alongside the plugin’s Node requirement so users can select a supported combination. (stylelint.io)


### From `eslint-webpack-plugin`

Expand Down
Loading
Loading