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-1
Original file line number
Diff line number
Diff line change
@@ -269,7 +269,7 @@ These rules relate to possible syntax or logic errors in Svelte code:
269
269
|[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:|
270
270
|[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:|
271
271
|[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 ||
|[svelte/valid-compile](https://ota-meshi.github.io/eslint-plugin-svelte/rules/valid-compile/)| disallow warnings when compiling. |:star:|
275
275
@@ -326,6 +326,7 @@ These rules extend the rules provided by ESLint itself to work well in Svelte:
326
326
| Rule ID | Description ||
327
327
|:--------|:------------|:---|
328
328
|[svelte/no-inner-declarations](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-inner-declarations/)| disallow variable or `function` declarations in nested blocks |:star:|
329
+
|[svelte/no-trailing-spaces](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/)| disallow trailing whitespace at the end of lines |:wrench:|
Copy file name to clipboardExpand all lines: docs/rules.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ These rules relate to possible syntax or logic errors in Svelte code:
22
22
|[svelte/no-not-function-handler](./rules/no-not-function-handler.md)| disallow use of not function in event handler |:star:|
23
23
|[svelte/no-object-in-text-mustaches](./rules/no-object-in-text-mustaches.md)| disallow objects in text mustache interpolation |:star:|
24
24
|[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 ||
Copy file name to clipboardExpand all lines: docs/rules/no-trailing-spaces.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/no-trailing-spaces"
5
5
description: "disallow trailing whitespace at the end of lines"
6
+
since: "v2.7.0"
6
7
---
7
8
8
9
# svelte/no-trailing-spaces
9
10
10
11
> disallow trailing whitespace at the end of lines
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
@@ -75,6 +75,10 @@ Same as [no-trailing-spaces] rule option. See [here](https://eslint.org/docs/rul
0 commit comments