Skip to content

chore: release eslint-plugin-svelte #1127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/popular-needles-remain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twelve-beers-talk.md

This file was deleted.

6 changes: 5 additions & 1 deletion docs/rules/no-unnecessary-state-wrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pageClass: 'rule-details'
sidebarDepth: 0
title: 'svelte/no-unnecessary-state-wrap'
description: 'Disallow unnecessary $state wrapping of reactive classes'
since: 'v3.2.0'
---

# svelte/no-unnecessary-state-wrap

> Disallow unnecessary $state wrapping of reactive classes

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

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

## :rocket: Version

This rule was introduced in eslint-plugin-svelte v3.2.0

## :mag: Implementation

- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-unnecessary-state-wrap.ts)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-unused-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pageClass: 'rule-details'
sidebarDepth: 0
title: 'svelte/no-unused-props'
description: 'Warns about defined Props properties that are unused'
since: 'v3.2.0'
---

# svelte/no-unused-props

> Warns about defined Props properties that are unused

- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
- :gear: This rule is included in `"plugin:svelte/recommended"`.

## :book: Rule Details
Expand Down Expand Up @@ -202,6 +202,10 @@ Examples:

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

## :rocket: Version

This rule was introduced in eslint-plugin-svelte v3.2.0

## :mag: Implementation

- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-unused-props.ts)
Expand Down
8 changes: 8 additions & 0 deletions packages/eslint-plugin-svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# eslint-plugin-svelte

## 3.2.0

### Minor Changes

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

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

## 3.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-svelte",
"version": "3.1.0",
"version": "3.2.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 packages/eslint-plugin-svelte/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 "pnpm run update"
export const name = 'eslint-plugin-svelte';
export const version = '3.1.0';
export const version = '3.2.0';