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
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -427,7 +427,7 @@ These rules relate to better ways of doing things to help you avoid problems:
427
427
|[svelte/no-unused-class-name](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-class-name/)| disallow the use of a class in the template without a corresponding style ||
|[svelte/prefer-const](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-const/)| Require `const` declarations for variables that are never reassigned after declared (excludes reactive values). |:wrench:|
430
+
|[svelte/prefer-const](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-const/)| Require `const` declarations for variables that are never reassigned after declared (excluding Svelte reactive values). |:wrench:|
431
431
|[svelte/prefer-destructured-store-props](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-destructured-store-props/)| destructure values from object stores for better change tracking & fewer redraws |:bulb:|
|[svelte/require-event-dispatcher-types](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-event-dispatcher-types/)| require type parameters for `createEventDispatcher`||
|[svelte/prefer-const](./rules/prefer-const.md)| Require `const` declarations for variables that are never reassigned after declared (excludes reactive values).|:wrench:|
67
+
|[svelte/prefer-const](./rules/prefer-const.md)| Require `const` declarations for variables that are never reassigned after declared (excluding Svelte reactive values). |:wrench:|
68
68
|[svelte/prefer-destructured-store-props](./rules/prefer-destructured-store-props.md)| destructure values from object stores for better change tracking & fewer redraws |:bulb:|
Copy file name to clipboardExpand all lines: docs/rules/prefer-const.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
pageClass: 'rule-details'
3
3
sidebarDepth: 0
4
4
title: 'svelte/prefer-const'
5
-
description: 'Require `const` declarations for variables that are never reassigned after declared (excludes reactive values).'
5
+
description: 'Require `const` declarations for variables that are never reassigned after declared (excluding Svelte reactive values).'
6
6
---
7
7
8
8
# svelte/prefer-const
9
9
10
-
> Require `const` declarations for variables that are never reassigned after declared (excludes reactive values).
10
+
> Require `const` declarations for variables that are never reassigned after declared (excluding Svelte reactive values).
11
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.
0 commit comments