From 13635c15339b2e8bf369ded51f883a83c3976e47 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Feb 2023 05:45:35 +0000 Subject: [PATCH] chore: release eslint-plugin-svelte --- .changeset/honest-garlics-march.md | 5 ----- .changeset/orange-impalas-speak.md | 5 ----- .changeset/slimy-brooms-report.md | 5 ----- .changeset/witty-donuts-jog.md | 5 ----- CHANGELOG.md | 14 ++++++++++++++ docs/rules/infinite-reactive-loop.md | 7 +++++-- docs/rules/require-event-dispatcher-types.md | 7 +++++-- package.json | 2 +- 8 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 .changeset/honest-garlics-march.md delete mode 100644 .changeset/orange-impalas-speak.md delete mode 100644 .changeset/slimy-brooms-report.md delete mode 100644 .changeset/witty-donuts-jog.md diff --git a/.changeset/honest-garlics-march.md b/.changeset/honest-garlics-march.md deleted file mode 100644 index 117f0de09..000000000 --- a/.changeset/honest-garlics-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-svelte": patch ---- - -fix: false positives for ts in `svelte/no-unused-svelte-ignore` diff --git a/.changeset/orange-impalas-speak.md b/.changeset/orange-impalas-speak.md deleted file mode 100644 index f42aadb65..000000000 --- a/.changeset/orange-impalas-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-svelte": minor ---- - -fix: update svelte-eslint-parser to v0.23 diff --git a/.changeset/slimy-brooms-report.md b/.changeset/slimy-brooms-report.md deleted file mode 100644 index 27d8ea281..000000000 --- a/.changeset/slimy-brooms-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-svelte": minor ---- - -feat: add `svelte/nfinite-reactive-loop` rule diff --git a/.changeset/witty-donuts-jog.md b/.changeset/witty-donuts-jog.md deleted file mode 100644 index 71e69ed74..000000000 --- a/.changeset/witty-donuts-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-svelte": minor ---- - -feat: added the `svelte/require-event-dispatcher-types` rule diff --git a/CHANGELOG.md b/CHANGELOG.md index b76921bd1..87486e636 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # eslint-plugin-svelte +## 2.16.0 + +### Minor Changes + +- [#358](https://github.com/ota-meshi/eslint-plugin-svelte/pull/358) [`3464f23`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/3464f2340ee1a45a4f50900eafe6435af9ba2931) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: update svelte-eslint-parser to v0.23 + +- [#332](https://github.com/ota-meshi/eslint-plugin-svelte/pull/332) [`26870cf`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/26870cf4eae7c682ae9d2741194fc23fdca9112e) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `svelte/nfinite-reactive-loop` rule + +- [#354](https://github.com/ota-meshi/eslint-plugin-svelte/pull/354) [`2f1d89a`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/2f1d89a4cbb5845aa328f5889dd449c386f04bda) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: added the `svelte/require-event-dispatcher-types` rule + +### Patch Changes + +- [#357](https://github.com/ota-meshi/eslint-plugin-svelte/pull/357) [`a561f99`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/a561f995a426ccb2d9a4066fc8cc264efbb74d7e) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: false positives for ts in `svelte/no-unused-svelte-ignore` + ## 2.15.0 ### Minor Changes diff --git a/docs/rules/infinite-reactive-loop.md b/docs/rules/infinite-reactive-loop.md index c34aa6112..05b009828 100644 --- a/docs/rules/infinite-reactive-loop.md +++ b/docs/rules/infinite-reactive-loop.md @@ -3,14 +3,13 @@ pageClass: "rule-details" sidebarDepth: 0 title: "svelte/infinite-reactive-loop" description: "Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent." +since: "v2.16.0" --- # svelte/infinite-reactive-loop > Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent. -- :exclamation: **_This rule has not been released yet._** - ## :book: Rule Details Svelte runtime prevents calling the same reactive statement twice in a microtask.
@@ -94,6 +93,10 @@ Nothing. - [Svelte - Docs > COMPONENT FORMAT > 3. $: marks a statement as reactive](https://svelte.dev/docs#component-format-script-3-$-marks-a-statement-as-reactive) - [Svelte - Docs > COMPONENT FORMAT > 4. Prefix stores with $ to access their values](https://svelte.dev/docs#component-format-script-4-prefix-stores-with-$-to-access-their-values) +## :rocket: Version + +This rule was introduced in eslint-plugin-svelte v2.16.0 + ## :mag: Implementation - [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/infinite-reactive-loop.ts) diff --git a/docs/rules/require-event-dispatcher-types.md b/docs/rules/require-event-dispatcher-types.md index 9bb1e53df..1d78f8d26 100644 --- a/docs/rules/require-event-dispatcher-types.md +++ b/docs/rules/require-event-dispatcher-types.md @@ -3,14 +3,13 @@ pageClass: "rule-details" sidebarDepth: 0 title: "svelte/require-event-dispatcher-types" description: "require type parameters for `createEventDispatcher`" +since: "v2.16.0" --- # svelte/require-event-dispatcher-types > require type parameters for `createEventDispatcher` -- :exclamation: **_This rule has not been released yet._** - ## :book: Rule Details This rule is aimed to enforce type parameters when calling `createEventDispatcher`. Adding types makes all `dispatch` calls as well as all event listeners typechecked. For more information, see the [svelte docs](https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#typing-component-events). @@ -42,6 +41,10 @@ This rule is aimed to enforce type parameters when calling `createEventDispatche Nothing. +## :rocket: Version + +This rule was introduced in eslint-plugin-svelte v2.16.0 + ## :mag: Implementation - [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/require-event-dispatcher-types.ts) diff --git a/package.json b/package.json index 55c8e498a..4e147bd81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-svelte", - "version": "2.15.0", + "version": "2.16.0", "description": "ESLint plugin for Svelte using AST", "repository": "git+https://github.com/ota-meshi/eslint-plugin-svelte.git", "homepage": "https://ota-meshi.github.io/eslint-plugin-svelte",