Skip to content

Commit 7deac9a

Browse files
chore: release eslint-plugin-svelte
1 parent ed68b20 commit 7deac9a

6 files changed

+19
-15
lines changed

.changeset/curvy-bananas-pretend.md

-5
This file was deleted.

.changeset/tidy-pugs-draw.md

-5
This file was deleted.

CHANGELOG.md

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

3+
## 2.27.0
4+
5+
### Minor Changes
6+
7+
- [#439](https://github.com/sveltejs/eslint-plugin-svelte/pull/439) [`f810b69`](https://github.com/sveltejs/eslint-plugin-svelte/commit/f810b694e2b3bc1bad0daba8227bcd672a8cb454) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add `svelte/no-immutable-reactive-statements` rule
8+
9+
- [#440](https://github.com/sveltejs/eslint-plugin-svelte/pull/440) [`ed68b20`](https://github.com/sveltejs/eslint-plugin-svelte/commit/ed68b205c2ff9c80237c06b453e9de3957a4f090) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add `svelte/no-reactive-reassign` rule
10+
311
## 2.26.0
412

513
### Minor Changes

docs/rules/no-immutable-reactive-statements.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-immutable-reactive-statements"
55
description: "disallow reactive statements that don't reference reactive values."
6+
since: "v2.27.0"
67
---
78

89
# svelte/no-immutable-reactive-statements
910

1011
> disallow reactive statements that don't reference reactive values.
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 reports if all variables referenced in reactive statements are immutable. That reactive statement is immutable and not reactive.
@@ -61,6 +60,10 @@ This rule reports if all variables referenced in reactive statements are immutab
6160

6261
Nothing.
6362

63+
## :rocket: Version
64+
65+
This rule was introduced in eslint-plugin-svelte v2.27.0
66+
6467
## :mag: Implementation
6568

6669
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/no-immutable-reactive-statements.ts)

docs/rules/no-reactive-reassign.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-reactive-reassign"
55
description: "disallow reassigning reactive values"
6+
since: "v2.27.0"
67
---
78

89
# svelte/no-reactive-reassign
910

1011
> disallow reassigning reactive values
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 aims to prevent unintended behavior caused by modification or reassignment of reactive values.
@@ -116,6 +115,10 @@ This rule aims to prevent unintended behavior caused by modification or reassign
116115

117116
</ESLintCodeBlock>
118117

118+
## :rocket: Version
119+
120+
This rule was introduced in eslint-plugin-svelte v2.27.0
121+
119122
## :mag: Implementation
120123

121124
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/no-reactive-reassign.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.26.0",
3+
"version": "2.27.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",

0 commit comments

Comments
 (0)