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
|[@ota-meshi/svelte/no-dynamic-slot-name](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-dynamic-slot-name.html)| disallow dynamic slot name |:star::wrench:|
251
252
|[@ota-meshi/svelte/no-not-function-handler](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-not-function-handler.html)| disallow use of not function in event handler |:star:|
252
253
|[@ota-meshi/svelte/no-object-in-text-mustaches](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-object-in-text-mustaches.html)| disallow objects in text mustache interpolation |:star:|
253
254
|[@ota-meshi/svelte/valid-compile](https://ota-meshi.github.io/eslint-plugin-svelte/rules/valid-compile.html)| disallow warnings when compiling. |:star:|
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> **_This rule has not been released yet._** </badge>
13
+
-:gear: This rule is included in `"plugin:@ota-meshi/svelte/recommended"`.
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.
15
+
16
+
## :book: Rule Details
17
+
18
+
This rule reports the dynamically specified `<slot>` name.
19
+
Dynamic `<slot>` names are not allowed in Svelte, so you must use static names.
20
+
21
+
The auto-fix of this rule can be replaced with a static `<slot>` name if the expression given to the `<slot>` name is static and resolvable.
0 commit comments