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-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:|
description: "disallow objects in text mustache interpolation"
6
+
---
7
+
8
+
# @ota-meshi/svelte/no-object-in-text-mustaches
9
+
10
+
> disallow objects in text mustache interpolation
11
+
12
+
-: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
+
15
+
## :book: Rule Details
16
+
17
+
This rule disallows the use of objects in text mustache interpolation.
18
+
When you use an object for text interpolation, it is drawn as `[object Object]`. It's almost always a mistake. You may have written a lot of unnecessary curly braces.
0 commit comments