Skip to content

Commit 46cea9e

Browse files
chore: release eslint-plugin-svelte (#472)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent abac19f commit 46cea9e

9 files changed

+24
-26
lines changed

.changeset/forty-eels-fix.md

-5
This file was deleted.

.changeset/gentle-doors-impress.md

-5
This file was deleted.

.changeset/shy-moles-deliver.md

-5
This file was deleted.

.changeset/wicked-ways-leave.md

-5
This file was deleted.

CHANGELOG.md

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

3+
## 2.28.0
4+
5+
### Minor Changes
6+
7+
- [#470](https://github.com/sveltejs/eslint-plugin-svelte/pull/470) [`6290345`](https://github.com/sveltejs/eslint-plugin-svelte/commit/6290345134d6cc5ef7a0bbe4b437918e61794150) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency svelte-eslint-parser to ^0.28.0
8+
9+
- [#473](https://github.com/sveltejs/eslint-plugin-svelte/pull/473) [`6b71add`](https://github.com/sveltejs/eslint-plugin-svelte/commit/6b71addc4a6963afcb6c861fc9190562a8ccbaf7) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add `svelte/require-each-key` rule
10+
11+
- [#475](https://github.com/sveltejs/eslint-plugin-svelte/pull/475) [`abac19f`](https://github.com/sveltejs/eslint-plugin-svelte/commit/abac19f16c1a5c245034cad1d1e616905962f91f) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add `svelte/valid-each-key` rule
12+
13+
- [#467](https://github.com/sveltejs/eslint-plugin-svelte/pull/467) [`170f816`](https://github.com/sveltejs/eslint-plugin-svelte/commit/170f816bd733a45103bdc8e82cc8e4768498dd4b) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: export meta object
14+
315
## 2.27.4
416

517
### Patch Changes

docs/rules/require-each-key.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-each-key"
55
description: "require keyed `{#each}` block"
6+
since: "v2.28.0"
67
---
78

89
# svelte/require-each-key
910

1011
> require keyed `{#each}` block
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 `{#each}` block without key
@@ -49,6 +48,10 @@ Nothing.
4948

5049
- [Svelte - Tutorial > 4. Logic / Keyed each blocks](https://svelte.dev/tutorial/keyed-each-blocks)
5150

51+
## :rocket: Version
52+
53+
This rule was introduced in eslint-plugin-svelte v2.28.0
54+
5255
## :mag: Implementation
5356

5457
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/require-each-key.ts)

docs/rules/valid-each-key.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/valid-each-key"
55
description: "enforce keys to use variables defined in the `{#each}` block"
6+
since: "v2.28.0"
67
---
78

89
# svelte/valid-each-key
910

1011
> enforce keys to use variables defined in the `{#each}` block
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 that `{#each}` block keys does not use the variables which are defined by the `{#each}` block.
@@ -58,6 +57,10 @@ Nothing.
5857

5958
- [Svelte - Tutorial > 4. Logic / Keyed each blocks](https://svelte.dev/tutorial/keyed-each-blocks)
6059

60+
## :rocket: Version
61+
62+
This rule was introduced in eslint-plugin-svelte v2.28.0
63+
6164
## :mag: Implementation
6265

6366
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/valid-each-key.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.27.4",
3+
"version": "2.28.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 "yarn update"
44
export const name = "eslint-plugin-svelte" as const
5-
export const version = "2.27.4" as const
5+
export const version = "2.28.0" as const

0 commit comments

Comments
 (0)