Skip to content

Commit 074531f

Browse files
chore: release eslint-plugin-svelte (#593)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 1fe38d7 commit 074531f

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

.changeset/hip-tips-smell.md

-5
This file was deleted.

CHANGELOG.md

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

3+
## 2.34.0
4+
5+
### Minor Changes
6+
7+
- [#592](https://github.com/sveltejs/eslint-plugin-svelte/pull/592) [`1fe38d7`](https://github.com/sveltejs/eslint-plugin-svelte/commit/1fe38d770928bb890d4292e6a10028b93d9ba843) Thanks [@moufmouf](https://github.com/moufmouf)! - feat: add new `svelte/no-ignored-unsubscribe` rule.
8+
39
## 2.33.2
410

511
### Patch Changes

docs/rules/no-ignored-unsubscribe.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: 'rule-details'
33
sidebarDepth: 0
44
title: 'svelte/no-ignored-unsubscribe'
55
description: 'disallow ignoring the unsubscribe method returned by the `subscribe()` on Svelte stores.'
6+
since: 'v2.34.0'
67
---
78

89
# svelte/no-ignored-unsubscribe
910

1011
> disallow ignoring the unsubscribe method returned by the `subscribe()` on Svelte stores.
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 fails if an "unsubscriber" returned by call to `subscribe()` is neither assigned to a variable or property or passed to a function.
@@ -42,6 +41,10 @@ This rule helps to find such cases by ensuring that the unsubscriber (the return
4241

4342
Nothing.
4443

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

4750
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/no-ignored-unsubscribe.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.33.2",
3+
"version": "2.34.0",
44
"description": "ESLint plugin for Svelte using AST",
55
"repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git",
66
"homepage": "https://sveltejs.github.io/eslint-plugin-svelte",

src/meta.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
// This file has been automatically generated,
33
// in order to update its content execute "pnpm run update"
44
export const name = 'eslint-plugin-svelte' as const;
5-
export const version = '2.33.2' as const;
5+
export const version = '2.34.0' as const;

0 commit comments

Comments
 (0)