Skip to content

Commit 36f0c50

Browse files
chore: release eslint-plugin-svelte
1 parent e0e66f3 commit 36f0c50

12 files changed

+39
-38
lines changed

.changeset/chilly-lemons-love.md

-5
This file was deleted.

.changeset/fluffy-chicken-happen.md

-5
This file was deleted.

.changeset/gentle-fireants-shake.md

-5
This file was deleted.

.changeset/orange-months-sparkle.md

-5
This file was deleted.

.changeset/purple-coats-vanish.md

-5
This file was deleted.

.changeset/warm-eagles-sing.md

-5
This file was deleted.

CHANGELOG.md

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

3+
## 2.12.0
4+
5+
### Minor Changes
6+
7+
- [#291](https://github.com/ota-meshi/eslint-plugin-svelte/pull/291) [`049ac2d`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/049ac2db68a9a3c753cc4e5fdf178795b01d715c) Thanks [@renovate](https://github.com/apps/renovate)! - feat: update dependency svelte-eslint-parser to ^0.20.0
8+
9+
- [#284](https://github.com/ota-meshi/eslint-plugin-svelte/pull/284) [`1240968`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/1240968523fb7721c6ca3ea5bdf943247be4a099) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `require-store-callbacks-use-set-param` rule
10+
11+
- [#281](https://github.com/ota-meshi/eslint-plugin-svelte/pull/281) [`8da870f`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/8da870fc6c7d2b00a067d8befe124576c623a907) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `no-export-load-in-svelte-module-in-kit-pages` rule
12+
13+
- [#283](https://github.com/ota-meshi/eslint-plugin-svelte/pull/283) [`909979e`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/909979e004f5b069dbd4adb1a53a125ecda110a7) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `svelte/valid-prop-names-in-kit-pages` rule
14+
15+
### Patch Changes
16+
17+
- [#286](https://github.com/ota-meshi/eslint-plugin-svelte/pull/286) [`8802e14`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/8802e1456b3d0c2bf021a3086b5160c51f56b049) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency known-css-properties to ^0.26.0
18+
19+
- [#289](https://github.com/ota-meshi/eslint-plugin-svelte/pull/289) [`2895f16`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/2895f16c0e62cd0e946e549f8fc147aef42c143b) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add `svelte/require-store-reactive-access` rule
20+
321
## 2.11.0
422

523
### Minor Changes

docs/rules/no-export-load-in-svelte-module-in-kit-pages.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/no-export-load-in-svelte-module-in-kit-pages"
55
description: "disallow exporting load functions in `*.svelte` module in Svelte Kit page components."
6+
since: "v2.12.0"
67
---
78

89
# svelte/no-export-load-in-svelte-module-in-kit-pages
910

1011
> disallow exporting load functions in `*.svelte` module in Svelte Kit page components.
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 unexpected exported `load` function at `<script context="module">`.
@@ -57,6 +56,10 @@ Nothing. But if use are using not default routes folder, please set configuratio
5756

5857
- [SvelteKit Migration Guide (v1.0.0-next.405)](https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)
5958

59+
## :rocket: Version
60+
61+
This rule was introduced in eslint-plugin-svelte v2.12.0
62+
6063
## :mag: Implementation
6164

6265
- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/no-export-load-in-svelte-module-in-kit-pages.ts)

docs/rules/require-store-callbacks-use-set-param.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-store-callbacks-use-set-param"
55
description: "store callbacks must use `set` param"
6+
since: "v2.12.0"
67
---
78

89
# svelte/require-store-callbacks-use-set-param
910

1011
> store callbacks must use `set` param
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 disallows if `readable` / `writable` store's setter function doesn't use `set` parameter.<br>
@@ -72,6 +71,10 @@ Nothing.
7271

7372
- [Svelte - Docs > RUN TIME > svelte/store](https://svelte.dev/docs#run-time-svelte-store)
7473

74+
## :rocket: Version
75+
76+
This rule was introduced in eslint-plugin-svelte v2.12.0
77+
7578
## :mag: Implementation
7679

7780
- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/require-store-callbacks-use-set-param.ts)

docs/rules/require-store-reactive-access.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/require-store-reactive-access"
55
description: "disallow to use of the store itself as an operand. Need to use $ prefix or get function."
6+
since: "v2.12.0"
67
---
78

89
# svelte/require-store-reactive-access
910

1011
> disallow to use of the store itself as an operand. Need to use $ prefix or get function.
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
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
1414

1515
## :book: Rule Details
@@ -91,6 +91,10 @@ export const storeValue = writable("hello")
9191

9292
Nothing.
9393

94+
## :rocket: Version
95+
96+
This rule was introduced in eslint-plugin-svelte v2.12.0
97+
9498
## :mag: Implementation
9599

96100
- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/require-store-reactive-access.ts)

docs/rules/valid-prop-names-in-kit-pages.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-prop-names-in-kit-pages"
55
description: "disallow props other than data or errors in Svelte Kit page components."
6+
since: "v2.12.0"
67
---
78

89
# svelte/valid-prop-names-in-kit-pages
910

1011
> disallow props other than data or errors in Svelte Kit page components.
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 unexpected exported variables at `<script>`.<br>
@@ -59,6 +58,10 @@ Nothing. But if use are using not default routes folder, please set configuratio
5958

6059
- [SvelteKit Migration Guide (v1.0.0-next.405)](https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292707)
6160

61+
## :rocket: Version
62+
63+
This rule was introduced in eslint-plugin-svelte v2.12.0
64+
6265
## :mag: Implementation
6366

6467
- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/valid-prop-names-in-kit-pages.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.11.0",
3+
"version": "2.12.0",
44
"description": "ESLint plugin for Svelte using AST",
55
"repository": "git+https://github.com/ota-meshi/eslint-plugin-svelte.git",
66
"homepage": "https://ota-meshi.github.io/eslint-plugin-svelte",

0 commit comments

Comments
 (0)