Closed AlbertMarashi closed 1 month ago
Latest commit: e1c168dff0c0068d91ca138a6ddd92147b419468
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Being able to use non-stringifiable objects in string contexts is a major footgun and surface area for bugs. This new rule creates lint errors for situation such as:
where the
href
is serialised into"/foo/[object Object]"
which is almost never wanted behavior, and these types of bugs can easily be introduced through refactoringRelated: https://github.com/sveltejs/eslint-plugin-svelte/issues/747