Yuichiro Yamashita

Results 202 comments of Yuichiro Yamashita

@dummdidumm @Rich-Harris In my personal conclusion, I believe it’s better to use `IfBlock` and just modify the start property, rather than creating a separate `ElseIfBlock`. Reason 1: It’s preferable to...

@Lippiece I can not reproduce this. Can you create a new issue with reproduction?

Since the `clear` function can be used, `$state` is usually unnecessary. If there is a reason to use `$state(new SvelteMap())`, this rule can simply be disabled. ESLint is fully configurable.

Can you provide an example of fp?

Then, let’s add an option to not report an error when a reassignment exists.

I don’t think so. I believe it might simply be a mistake. At least in my project, I want to consistently treat it as an error. For example, in the...

In any case, for those who don’t want this rule enabled, they can simply disable it. In most cases, `$state(new SvelteMap())` doesn’t really make sense, so I think having it...

I added `allowReassign` option.

Why do we need to check ``’s attribute? If the `` component does not have a title prop, we should be able to recognize this through type checking, right? Are...

`svelte/html-closing-bracket-new-line` can solve this issue.