From e19c9ac474e2196758b1842a0d26ac74ea46f7ea Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 10 Feb 2023 13:19:22 +0000 Subject: [PATCH] chore: release eslint-plugin-svelte --- .changeset/strong-wombats-worry.md | 5 ----- .changeset/tasty-houses-behave.md | 5 ----- CHANGELOG.md | 8 ++++++++ docs/rules/experimental-require-slot-types.md | 7 +++++-- docs/rules/experimental-require-strict-events.md | 7 +++++-- package.json | 2 +- 6 files changed, 19 insertions(+), 15 deletions(-) delete mode 100644 .changeset/strong-wombats-worry.md delete mode 100644 .changeset/tasty-houses-behave.md diff --git a/.changeset/strong-wombats-worry.md b/.changeset/strong-wombats-worry.md deleted file mode 100644 index aa6742bea..000000000 --- a/.changeset/strong-wombats-worry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-svelte": minor ---- - -feat: added the `svelte/experimental-require-slot-types` rule diff --git a/.changeset/tasty-houses-behave.md b/.changeset/tasty-houses-behave.md deleted file mode 100644 index 1e8c9d32a..000000000 --- a/.changeset/tasty-houses-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-svelte": minor ---- - -feat: added the `svelte/experimental-require-strict-events` rule diff --git a/CHANGELOG.md b/CHANGELOG.md index 29a4d7ddb..f40f87cb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # eslint-plugin-svelte +## 2.18.0 + +### Minor Changes + +- [#368](https://github.com/ota-meshi/eslint-plugin-svelte/pull/368) [`fcb5e31`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/fcb5e319620b1cc71ffe579760033813bd719410) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: added the `svelte/experimental-require-slot-types` rule + +- [#365](https://github.com/ota-meshi/eslint-plugin-svelte/pull/365) [`e61bbc3`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/e61bbc347f416f19e9e1e026c4d692e404776023) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: added the `svelte/experimental-require-strict-events` rule + ## 2.17.0 ### Minor Changes diff --git a/docs/rules/experimental-require-slot-types.md b/docs/rules/experimental-require-slot-types.md index 5ab947701..64895724f 100644 --- a/docs/rules/experimental-require-slot-types.md +++ b/docs/rules/experimental-require-slot-types.md @@ -3,14 +3,13 @@ pageClass: "rule-details" sidebarDepth: 0 title: "svelte/experimental-require-slot-types" description: "require slot type declaration using the `$$Slots` interface" +since: "v2.18.0" --- # svelte/experimental-require-slot-types > require slot type declaration using the `$$Slots` interface -- :exclamation: **_This rule has not been released yet._** - ## :book: Rule Details This rule enforces the presence of the `$$Slots` interface if any slots are present in the component. This interface declares all of the used slots and their props and enables typechecking both in the component itself as well as all components that include it. @@ -107,6 +106,10 @@ The `$$Slots` interface is experimental and is documented in [svelte RFC #38](h Nothing. +## :rocket: Version + +This rule was introduced in eslint-plugin-svelte v2.18.0 + ## :mag: Implementation - [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/experimental-require-slot-types.ts) diff --git a/docs/rules/experimental-require-strict-events.md b/docs/rules/experimental-require-strict-events.md index 8c6a8bf2c..cf204a379 100644 --- a/docs/rules/experimental-require-strict-events.md +++ b/docs/rules/experimental-require-strict-events.md @@ -3,14 +3,13 @@ pageClass: "rule-details" sidebarDepth: 0 title: "svelte/experimental-require-strict-events" description: "require the strictEvents attribute on `