Skip to content

Commit

Permalink
chore: release eslint-plugin-svelte (#472)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored May 10, 2023
1 parent abac19f commit 46cea9e
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 26 deletions.
5 changes: 0 additions & 5 deletions .changeset/forty-eels-fix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-doors-impress.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shy-moles-deliver.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-ways-leave.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# eslint-plugin-svelte

## 2.28.0

### Minor Changes

- [#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

- [#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

- [#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

- [#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

## 2.27.4

### Patch Changes
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/require-each-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "svelte/require-each-key"
description: "require keyed `{#each}` block"
since: "v2.28.0"
---

# svelte/require-each-key

> require keyed `{#each}` block
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>

## :book: Rule Details

This rule reports `{#each}` block without key
Expand Down Expand Up @@ -49,6 +48,10 @@ Nothing.

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

## :rocket: Version

This rule was introduced in eslint-plugin-svelte v2.28.0

## :mag: Implementation

- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/require-each-key.ts)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/valid-each-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "svelte/valid-each-key"
description: "enforce keys to use variables defined in the `{#each}` block"
since: "v2.28.0"
---

# svelte/valid-each-key

> enforce keys to use variables defined in the `{#each}` block
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>

## :book: Rule Details

This rule reports that `{#each}` block keys does not use the variables which are defined by the `{#each}` block.
Expand Down Expand Up @@ -58,6 +57,10 @@ Nothing.

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

## :rocket: Version

This rule was introduced in eslint-plugin-svelte v2.28.0

## :mag: Implementation

- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/valid-each-key.ts)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-svelte",
"version": "2.27.4",
"version": "2.28.0",
"description": "ESLint plugin for Svelte using AST",
"repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git",
"homepage": "https://sveltejs.github.io/eslint-plugin-svelte",
Expand Down
2 changes: 1 addition & 1 deletion src/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
// This file has been automatically generated,
// in order to update its content execute "yarn update"
export const name = "eslint-plugin-svelte" as const
export const version = "2.27.4" as const
export const version = "2.28.0" as const

0 comments on commit 46cea9e

Please sign in to comment.