Skip to content

Commit b267410

Browse files
chore: release eslint-plugin-svelte
1 parent a4d3b29 commit b267410

File tree

7 files changed

+20
-14
lines changed

7 files changed

+20
-14
lines changed

.changeset/popular-needles-remain.md

-5
This file was deleted.

.changeset/twelve-beers-talk.md

-5
This file was deleted.

docs/rules/no-unnecessary-state-wrap.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ pageClass: 'rule-details'
33
sidebarDepth: 0
44
title: 'svelte/no-unnecessary-state-wrap'
55
description: 'Disallow unnecessary $state wrapping of reactive classes'
6+
since: 'v3.2.0'
67
---
78

89
# svelte/no-unnecessary-state-wrap
910

1011
> Disallow unnecessary $state wrapping of reactive classes
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
1313
- :gear: This rule is included in `"plugin:svelte/recommended"`.
1414
- :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
1515

@@ -109,6 +109,10 @@ Therefore, wrapping them with `$state` is unnecessary and can lead to confusion.
109109
</script>
110110
```
111111

112+
## :rocket: Version
113+
114+
This rule was introduced in eslint-plugin-svelte v3.2.0
115+
112116
## :mag: Implementation
113117

114118
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-unnecessary-state-wrap.ts)

docs/rules/no-unused-props.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ pageClass: 'rule-details'
33
sidebarDepth: 0
44
title: 'svelte/no-unused-props'
55
description: 'Warns about defined Props properties that are unused'
6+
since: 'v3.2.0'
67
---
78

89
# svelte/no-unused-props
910

1011
> Warns about defined Props properties that are unused
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
1313
- :gear: This rule is included in `"plugin:svelte/recommended"`.
1414

1515
## :book: Rule Details
@@ -202,6 +202,10 @@ Examples:
202202

203203
This rule requires `@typescript-eslint/parser` to work. Please refer to the [User Guide](../user-guide.md) for more information.
204204

205+
## :rocket: Version
206+
207+
This rule was introduced in eslint-plugin-svelte v3.2.0
208+
205209
## :mag: Implementation
206210

207211
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-unused-props.ts)

packages/eslint-plugin-svelte/CHANGELOG.md

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

3+
## 3.2.0
4+
5+
### Minor Changes
6+
7+
- [#1062](https://github.com/sveltejs/eslint-plugin-svelte/pull/1062) [`a4d3b29`](https://github.com/sveltejs/eslint-plugin-svelte/commit/a4d3b295583309bd8fcde846d1a1daa612d4d56a) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `no-unnecessary-state-wrap` rule
8+
9+
- [#1061](https://github.com/sveltejs/eslint-plugin-svelte/pull/1061) [`268a372`](https://github.com/sveltejs/eslint-plugin-svelte/commit/268a3727e17c4bcb1906cc6901667a1272d2a191) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `no-unused-props` rule
10+
311
## 3.1.0
412

513
### Minor Changes

packages/eslint-plugin-svelte/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-svelte",
3-
"version": "3.1.0",
3+
"version": "3.2.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",

packages/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';
5-
export const version = '3.1.0';
5+
export const version = '3.2.0';

0 commit comments

Comments
 (0)