Skip to content

Commit

Permalink
2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jul 31, 2022
1 parent ce7db8a commit f3c3554
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
6 changes: 5 additions & 1 deletion docs/rules/no-extra-reactive-curlies.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-extra-reactive-curlies"
description: "disallow wrapping single reactive statements in curly braces"
since: "v2.4.0"
---

# svelte/no-extra-reactive-curlies

> disallow wrapping single reactive statements in curly braces
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
- :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).

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

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

## :rocket: Version

This rule was introduced in eslint-plugin-svelte v2.4.0

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/no-extra-reactive-curlies.ts)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-reactive-literals.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-reactive-literals"
description: "Don't assign literal values in reactive statements"
since: "v2.4.0"
---

# svelte/no-reactive-literals

> Don't assign literal values in reactive statements
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
- :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).

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

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

## :rocket: Version

This rule was introduced in eslint-plugin-svelte v2.4.0

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/no-reactive-literals.ts)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/sort-attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "svelte/sort-attributes"
description: "enforce order of attributes"
since: "v2.4.0"
---

# svelte/sort-attributes

> enforce order of attributes
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
- :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.

## :book: Rule Details
Expand Down Expand Up @@ -269,6 +269,10 @@ You can use the following formats for names or patterns:

</ESLintCodeBlock>

## :rocket: Version

This rule was introduced in eslint-plugin-svelte v2.4.0

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/sort-attributes.ts)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-svelte",
"version": "2.3.1",
"version": "2.4.0",
"description": "ESLint plugin for Svelte using AST",
"repository": "git+https://github.com/ota-meshi/eslint-plugin-svelte.git",
"homepage": "https://ota-meshi.github.io/eslint-plugin-svelte",
Expand Down

0 comments on commit f3c3554

Please sign in to comment.