Skip to content

Commit f3c3554

Browse files
committed
2.4.0
1 parent ce7db8a commit f3c3554

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

docs/rules/no-extra-reactive-curlies.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/no-extra-reactive-curlies"
55
description: "disallow wrapping single reactive statements in curly braces"
6+
since: "v2.4.0"
67
---
78

89
# svelte/no-extra-reactive-curlies
910

1011
> disallow wrapping single reactive statements in curly braces
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
- :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
1414

1515
## :book: Rule Details
@@ -47,6 +47,10 @@ This rule is compatible with `@tivac/svelte/reactive-curlies` rule.
4747

4848
[@tivac/eslint-plugin-svelte]: https://github.com/tivac/eslint-plugin-svelte/
4949

50+
## :rocket: Version
51+
52+
This rule was introduced in eslint-plugin-svelte v2.4.0
53+
5054
## :mag: Implementation
5155

5256
- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/no-extra-reactive-curlies.ts)

docs/rules/no-reactive-literals.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/no-reactive-literals"
55
description: "Don't assign literal values in reactive statements"
6+
since: "v2.4.0"
67
---
78

89
# svelte/no-reactive-literals
910

1011
> Don't assign literal values in reactive statements
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
- :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
1414

1515
## :book: Rule Details
@@ -44,6 +44,10 @@ This rule is compatible with `@tivac/svelte/reactive-literals` rule.
4444

4545
[@tivac/eslint-plugin-svelte]: https://github.com/tivac/eslint-plugin-svelte/
4646

47+
## :rocket: Version
48+
49+
This rule was introduced in eslint-plugin-svelte v2.4.0
50+
4751
## :mag: Implementation
4852

4953
- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/no-reactive-literals.ts)

docs/rules/sort-attributes.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/sort-attributes"
55
description: "enforce order of attributes"
6+
since: "v2.4.0"
67
---
78

89
# svelte/sort-attributes
910

1011
> enforce order of attributes
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
@@ -269,6 +269,10 @@ You can use the following formats for names or patterns:
269269

270270
</ESLintCodeBlock>
271271

272+
## :rocket: Version
273+
274+
This rule was introduced in eslint-plugin-svelte v2.4.0
275+
272276
## :mag: Implementation
273277

274278
- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/sort-attributes.ts)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-svelte",
3-
"version": "2.3.1",
3+
"version": "2.4.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)