Skip to content

Commit

Permalink
Add support for ESM plugins (#7339)
Browse files Browse the repository at this point in the history
In addition, this change does the following:
- improve the migration guide for v16
- rewrite the writing plugin guide for ESM
- make the changelog items more consistent

Note: I realized that #7279 produced a breaking change in `stylelint.utils.checkAgainstRule`.

Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
  • Loading branch information
ybiquitous and jeddy3 authored Nov 15, 2023
1 parent 6a688db commit 2debf67
Show file tree
Hide file tree
Showing 11 changed files with 250 additions and 155 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-clouds-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stylelint": minor
---

Added: support for ESM plugins
2 changes: 1 addition & 1 deletion .changeset/fifty-rice-knock.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"stylelint": major
---

Changed: Node.js API so that the `stylelint.formatters` object has `Promise` functions
Changed: `stylelint.formatters` object to have `Promise` values
2 changes: 1 addition & 1 deletion .changeset/slow-planes-begin.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"stylelint": major
---

Changed: Node.js API so that the `stylelint.rules` object has `Promise` functions
Changed: `stylelint.rules` object to have `Promise` values
5 changes: 5 additions & 0 deletions .changeset/twelve-spies-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stylelint": major
---

Changed: `stylelint.utils.checkAgainstRule` to be an async function
Loading

0 comments on commit 2debf67

Please sign in to comment.