Skip to content

Commit 3dc146a

Browse files
chore: release eslint-plugin-svelte (#359)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 1e022ef commit 3dc146a

8 files changed

+25
-25
lines changed

.changeset/honest-garlics-march.md

-5
This file was deleted.

.changeset/orange-impalas-speak.md

-5
This file was deleted.

.changeset/slimy-brooms-report.md

-5
This file was deleted.

.changeset/witty-donuts-jog.md

-5
This file was deleted.

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# eslint-plugin-svelte
22

3+
## 2.16.0
4+
5+
### Minor Changes
6+
7+
- [#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
8+
9+
- [#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
10+
11+
- [#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
12+
13+
### Patch Changes
14+
15+
- [#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`
16+
317
## 2.15.0
418

519
### Minor Changes

docs/rules/infinite-reactive-loop.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/infinite-reactive-loop"
55
description: "Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent."
6+
since: "v2.16.0"
67
---
78

89
# svelte/infinite-reactive-loop
910

1011
> Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent.
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
13-
1413
## :book: Rule Details
1514

1615
Svelte runtime prevents calling the same reactive statement twice in a microtask.<br/>
@@ -94,6 +93,10 @@ Nothing.
9493
- [Svelte - Docs > COMPONENT FORMAT > 3. $: marks a statement as reactive](https://svelte.dev/docs#component-format-script-3-$-marks-a-statement-as-reactive)
9594
- [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)
9695

96+
## :rocket: Version
97+
98+
This rule was introduced in eslint-plugin-svelte v2.16.0
99+
97100
## :mag: Implementation
98101

99102
- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/infinite-reactive-loop.ts)

docs/rules/require-event-dispatcher-types.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/require-event-dispatcher-types"
55
description: "require type parameters for `createEventDispatcher`"
6+
since: "v2.16.0"
67
---
78

89
# svelte/require-event-dispatcher-types
910

1011
> require type parameters for `createEventDispatcher`
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
13-
1413
## :book: Rule Details
1514

1615
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
4241

4342
Nothing.
4443

44+
## :rocket: Version
45+
46+
This rule was introduced in eslint-plugin-svelte v2.16.0
47+
4548
## :mag: Implementation
4649

4750
- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/require-event-dispatcher-types.ts)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-svelte",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "ESLint plugin for Svelte using AST",
55
"repository": "git+https://github.com/ota-meshi/eslint-plugin-svelte.git",
66
"homepage": "https://ota-meshi.github.io/eslint-plugin-svelte",

0 commit comments

Comments
 (0)