You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -282,8 +282,8 @@ These rules relate to better ways of doing things to help you avoid problems:
282
282
|:--------|:------------|:---|
283
283
|[svelte/button-has-type](https://ota-meshi.github.io/eslint-plugin-svelte/rules/button-has-type/)| disallow usage of button without an explicit type attribute ||
284
284
|[svelte/no-at-debug-tags](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-at-debug-tags/)| disallow the use of `{@debug}`|:star:|
285
-
|[svelte/no-reactive-functions](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-reactive-functions/)|It's not necessary to define functions in reactive statements |:bulb:|
286
-
|[svelte/no-reactive-literals](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-reactive-literals/)|Don't assign literal values in reactive statements |:bulb:|
285
+
|[svelte/no-reactive-functions](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-reactive-functions/)|it's not necessary to define functions in reactive statements |:bulb:|
286
+
|[svelte/no-reactive-literals](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-reactive-literals/)|don't assign literal values in reactive statements |:bulb:|
|[svelte/require-optimized-style-attribute](https://ota-meshi.github.io/eslint-plugin-svelte/rules/require-optimized-style-attribute/)| require style attributes that can be optimized ||
Copy file name to clipboardExpand all lines: docs/rules/html-self-closing.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,13 @@ pageClass: "rule-details"
3
3
sidebarDepth: 0
4
4
title: "svelte/html-self-closing"
5
5
description: "enforce self-closing style"
6
+
since: "v2.5.0"
6
7
---
7
8
8
9
# svelte/html-self-closing
9
10
10
11
> enforce self-closing style
11
12
12
-
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> **_This rule has not been released yet._** </badge>
13
13
-: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.
14
14
15
15
## :book: Rule Details
@@ -74,6 +74,10 @@ Every option can be set to
74
74
- "never" (`<div></div>`)
75
75
- "ignore" (either `<div />` or `<div></div>`)
76
76
77
+
## :rocket: Version
78
+
79
+
This rule was introduced in eslint-plugin-svelte v2.5.0
Copy file name to clipboardExpand all lines: docs/rules/no-reactive-functions.md
+7-3
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,14 @@
2
2
pageClass: "rule-details"
3
3
sidebarDepth: 0
4
4
title: "svelte/no-reactive-functions"
5
-
description: "It's not necessary to define functions in reactive statements"
5
+
description: "it's not necessary to define functions in reactive statements"
6
+
since: "v2.5.0"
6
7
---
7
8
8
9
# svelte/no-reactive-functions
9
10
10
-
> It's not necessary to define functions in reactive statements
11
+
> it's not necessary to define functions in reactive statements
11
12
12
-
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> **_This rule has not been released yet._** </badge>
13
13
-:bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
14
14
15
15
## :book: Rule Details
@@ -46,6 +46,10 @@ This rule was taken from [@tivac/eslint-plugin-svelte].
46
46
This rule is compatible with `@tivac/svelte/reactive-functions` rule.
Copy file name to clipboardExpand all lines: docs/rules/no-reactive-literals.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
pageClass: "rule-details"
3
3
sidebarDepth: 0
4
4
title: "svelte/no-reactive-literals"
5
-
description: "Don't assign literal values in reactive statements"
5
+
description: "don't assign literal values in reactive statements"
6
6
since: "v2.4.0"
7
7
---
8
8
9
9
# svelte/no-reactive-literals
10
10
11
-
> Don't assign literal values in reactive statements
11
+
> don't assign literal values in reactive statements
12
12
13
13
-:bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
0 commit comments