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
|[svelte/no-dynamic-slot-name](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dynamic-slot-name/)| disallow dynamic slot name |:star::wrench:|
330
329
|[svelte/no-export-load-in-svelte-module-in-kit-pages](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-export-load-in-svelte-module-in-kit-pages/)| disallow exporting load functions in `*.svelte` module in SvelteKit page components. ||
331
330
|[svelte/no-not-function-handler](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/)| disallow use of not function in event handler |:star:|
332
331
|[svelte/no-object-in-text-mustaches](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-object-in-text-mustaches/)| disallow objects in text mustache interpolation |:star:|
@@ -444,6 +443,7 @@ These rules relate to this plugin works:
444
443
| Rule ID | Replaced by |
445
444
|:--------|:------------|
446
445
|[svelte/@typescript-eslint/no-unnecessary-condition](https://sveltejs.github.io/eslint-plugin-svelte/rules/@typescript-eslint/no-unnecessary-condition/)| This rule is no longer needed when using svelte-eslint-parser>=v0.19.0. |
446
+
|[svelte/no-dynamic-slot-name](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dynamic-slot-name/)| Now Svelte compiler itself throws an compile error. |
|[svelte/infinite-reactive-loop](./rules/infinite-reactive-loop.md)| Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent. ||
20
-
|[svelte/no-deprecated-raw-special-elements](./rules/no-deprecated-raw-special-elements.md)| Recommends not using raw special elements in Svelte versions previous to 5. |:wrench:|
21
-
|[svelte/no-dom-manipulating](./rules/no-dom-manipulating.md)| disallow DOM manipulating ||
|[svelte/no-shorthand-style-property-overrides](./rules/no-shorthand-style-property-overrides.md)| disallow shorthand style properties that override related longhand properties |:star:|
32
-
|[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 ||
|[svelte/require-store-callbacks-use-set-param](./rules/require-store-callbacks-use-set-param.md)| store callbacks must use `set` param ||
35
-
|[svelte/require-store-reactive-access](./rules/require-store-reactive-access.md)| disallow to use of the store itself as an operand. Need to use $ prefix or get function. |:wrench:|
36
-
|[svelte/valid-compile](./rules/valid-compile.md)| disallow warnings when compiling. |:star:|
37
-
|[svelte/valid-prop-names-in-kit-pages](./rules/valid-prop-names-in-kit-pages.md)| disallow props other than data or errors in SvelteKit page components. ||
|[svelte/infinite-reactive-loop](./rules/infinite-reactive-loop.md)| Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent. ||
20
+
|[svelte/no-deprecated-raw-special-elements](./rules/no-deprecated-raw-special-elements.md)| Recommends not using raw special elements in Svelte versions previous to 5. |:wrench:|
21
+
|[svelte/no-dom-manipulating](./rules/no-dom-manipulating.md)| disallow DOM manipulating ||
|[svelte/no-shorthand-style-property-overrides](./rules/no-shorthand-style-property-overrides.md)| disallow shorthand style properties that override related longhand properties |:star:|
31
+
|[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 ||
|[svelte/require-store-callbacks-use-set-param](./rules/require-store-callbacks-use-set-param.md)| store callbacks must use `set` param ||
34
+
|[svelte/require-store-reactive-access](./rules/require-store-reactive-access.md)| disallow to use of the store itself as an operand. Need to use $ prefix or get function. |:wrench:|
35
+
|[svelte/valid-compile](./rules/valid-compile.md)| disallow warnings when compiling. |:star:|
36
+
|[svelte/valid-prop-names-in-kit-pages](./rules/valid-prop-names-in-kit-pages.md)| disallow props other than data or errors in SvelteKit page components. ||
38
37
39
38
## Security Vulnerability
40
39
@@ -141,4 +140,5 @@ These rules relate to this plugin works:
|[svelte/@typescript-eslint/no-unnecessary-condition](./rules/@typescript-eslint/no-unnecessary-condition.md)| This rule is no longer needed when using svelte-eslint-parser>=v0.19.0. |
143
+
|[svelte/no-dynamic-slot-name](./rules/no-dynamic-slot-name.md)| Now Svelte compiler itself throws an compile error. |
Copy file name to clipboardExpand all lines: docs/rules/no-dynamic-slot-name.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ since: 'v0.14.0'
10
10
11
11
> disallow dynamic slot name
12
12
13
-
-:gear: This rule is included in `"plugin:svelte/recommended"`.
13
+
-:warning: This rule was **deprecated**. Now Svelte compiler itself throws an compile error.
14
14
-: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