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:|
329
328
|[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:|
330
329
|[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:|
331
330
|[svelte/no-raw-special-elements](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-raw-special-elements/)| Checks for invalid raw HTML elements |:wrench:|
@@ -445,6 +444,7 @@ These rules relate to this plugin works:
445
444
| Rule ID | Replaced by |
446
445
|:--------|:------------|
447
446
|[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. |
447
+
|[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-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:|
|[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-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:|
30
+
|[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 ||
33
+
|[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:|
34
+
|[svelte/valid-compile](./rules/valid-compile.md)| disallow warnings when compiling. |:star:|
36
35
37
36
## Security Vulnerability
38
37
@@ -142,4 +141,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. |
144
+
|[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