Skip to content

Commit 9dadd6f

Browse files
chore: release eslint-plugin-svelte
1 parent 070126a commit 9dadd6f

File tree

8 files changed

+22
-20
lines changed

8 files changed

+22
-20
lines changed

.changeset/ready-views-burn.md

-5
This file was deleted.

.changeset/rich-dogs-design.md

-5
This file was deleted.

.changeset/two-hats-ask.md

-5
This file was deleted.

docs/rules/prefer-writable-derived.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ pageClass: 'rule-details'
33
sidebarDepth: 0
44
title: 'svelte/prefer-writable-derived'
55
description: 'Prefer using writable $derived instead of $state and $effect'
6+
since: 'v3.6.0'
67
---
78

89
# svelte/prefer-writable-derived
910

1011
> Prefer using writable $derived instead of $state and $effect
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

@@ -54,6 +54,10 @@ Nothing.
5454
- [Svelte Documentation on Reactivity Primitives](https://svelte.dev/docs/svelte-components#script-2-assignments-are-reactive)
5555
- [Svelte RFC for Reactivity Primitives](https://github.com/sveltejs/rfcs/blob/rfc-better-primitives/text/0000-better-primitives.md)
5656

57+
## :rocket: Version
58+
59+
This rule was introduced in eslint-plugin-svelte v3.6.0
60+
5761
## :mag: Implementation
5862

5963
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/prefer-writable-derived.ts)

docs/rules/require-event-prefix.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-event-prefix'
55
description: 'require component event names to start with "on"'
6+
since: 'v3.6.0'
67
---
78

89
# svelte/require-event-prefix
910

1011
> require component event names to start with "on"
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
Starting with Svelte 5, component events are just component props that are functions and so can be called like any function. Events for HTML elements all have their name begin with "on" (e.g. `onclick`). This rule enforces that all component events (i.e. function props) also begin with "on".
@@ -65,6 +64,10 @@ Starting with Svelte 5, component events are just component props that are funct
6564

6665
- [Svelte docs on events in version 5](https://svelte.dev/docs/svelte/v5-migration-guide#Event-changes)
6766

67+
## :rocket: Version
68+
69+
This rule was introduced in eslint-plugin-svelte v3.6.0
70+
6871
## :mag: Implementation
6972

7073
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/require-event-prefix.ts)

packages/eslint-plugin-svelte/CHANGELOG.md

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

3+
## 3.6.0
4+
5+
### Minor Changes
6+
7+
- [#1170](https://github.com/sveltejs/eslint-plugin-svelte/pull/1170) [`3ddbd83`](https://github.com/sveltejs/eslint-plugin-svelte/commit/3ddbd83068a8a82ed5bfe638483c7dd7839e681a) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `prefer-writable-derived` rule
8+
9+
- [#1069](https://github.com/sveltejs/eslint-plugin-svelte/pull/1069) [`73f23ae`](https://github.com/sveltejs/eslint-plugin-svelte/commit/73f23ae0321aa4cb87e700f8478b140059e18c64) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: added the `require-event-prefix` rule
10+
11+
- [#1148](https://github.com/sveltejs/eslint-plugin-svelte/pull/1148) [`87c74fe`](https://github.com/sveltejs/eslint-plugin-svelte/commit/87c74feef892cb7e04e5709e66dfeda4e27ec820) Thanks [@marekdedic](https://github.com/marekdedic)! - feat(consistent-selector-style): added support for dynamic classes and IDs
12+
313
## 3.5.1
414

515
### Patch 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.5.1",
3+
"version": "3.6.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' as const;
5-
export const version = '3.5.1' as const;
5+
export const version = '3.6.0' as const;

0 commit comments

Comments
 (0)