Skip to content

Commit 7d0ad18

Browse files
chore: release eslint-plugin-svelte
1 parent 9789614 commit 7d0ad18

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.changeset/curvy-ants-admire.md

-5
This file was deleted.

CHANGELOG.md

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

3+
## 2.7.0
4+
5+
### Minor Changes
6+
7+
- [#225](https://github.com/ota-meshi/eslint-plugin-svelte/pull/225) [`a3888b3`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/a3888b3cf358ceaa4ddaf22af19f8124d0ff53e4) Thanks [@baseballyama](https://github.com/baseballyama)! - Add svelte/stores-no-async rule
8+
39
## 2.6.0
410

511
### Minor Changes

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ These rules relate to possible syntax or logic errors in Svelte code:
269269
| [svelte/no-not-function-handler](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-not-function-handler/) | disallow use of not function in event handler | :star: |
270270
| [svelte/no-object-in-text-mustaches](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-object-in-text-mustaches/) | disallow objects in text mustache interpolation | :star: |
271271
| [svelte/no-shorthand-style-property-overrides](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-shorthand-style-property-overrides/) | disallow shorthand style properties that override related longhand properties | :star: |
272-
| [svelte/no-store-async](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-store-async.md) | disallow using async/await inside svelte stores | :star: |
272+
| [svelte/no-store-async](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-store-async/) | disallow using async/await inside svelte stores because it causes issues with the auto-unsubscribing features | |
273273
| [svelte/no-unknown-style-directive-property](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-unknown-style-directive-property/) | disallow unknown `style:property` | :star: |
274274
| [svelte/valid-compile](https://ota-meshi.github.io/eslint-plugin-svelte/rules/valid-compile/) | disallow warnings when compiling. | :star: |
275275

docs/rules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ These rules relate to possible syntax or logic errors in Svelte code:
2222
| [svelte/no-not-function-handler](./rules/no-not-function-handler.md) | disallow use of not function in event handler | :star: |
2323
| [svelte/no-object-in-text-mustaches](./rules/no-object-in-text-mustaches.md) | disallow objects in text mustache interpolation | :star: |
2424
| [svelte/no-shorthand-style-property-overrides](./rules/no-shorthand-style-property-overrides.md) | disallow shorthand style properties that override related longhand properties | :star: |
25-
| [svelte/no-store-async](./rules/no-store-async.md) | disallow using async/await inside svelte stores | :star: |
25+
| [svelte/no-store-async](./rules/no-store-async.md) | disallow using async/await inside svelte stores because it causes issues with the auto-unsubscribing features | |
2626
| [svelte/no-unknown-style-directive-property](./rules/no-unknown-style-directive-property.md) | disallow unknown `style:property` | :star: |
2727
| [svelte/valid-compile](./rules/valid-compile.md) | disallow warnings when compiling. | :star: |
2828

docs/rules/no-store-async.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/no-store-async"
5-
description: "disallow using async/await inside svelte stores"
5+
description: "disallow using async/await inside svelte stores because it causes issues with the auto-unsubscribing features"
6+
since: "v2.7.0"
67
---
78

89
# svelte/no-store-async
910

10-
> disallow using async/await inside svelte stores
11-
12-
- :gear: This rule is included in `"plugin:svelte/recommended"`.
11+
> disallow using async/await inside svelte stores because it causes issues with the auto-unsubscribing features
1312
1413
## :book: Rule Details
1514

@@ -48,7 +47,7 @@ Nothing.
4847

4948
## :rocket: Version
5049

51-
This rule was introduced in eslint-plugin-svelte v3.1.0
50+
This rule was introduced in eslint-plugin-svelte v2.7.0
5251

5352
## :mag: Implementation
5453

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.6.0",
3+
"version": "2.7.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)