Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
What version of ESLint are you using?
^9.13.0
What version of eslint-plugin-svelte
are you using?
^3.6.0
What did you do?
<script lang="ts">
import type { Attachment } from 'svelte/attachments';
const myAttachment: Attachment = (element) => {
console.log(element.nodeName); // 'DIV'
return () => {
console.log('cleaning up');
};
};
</script>
<div {@attach myAttachment}>...</div>
What did you expect to happen?
linting without error
What actually happened?
got the error like this
/Users/ryoppippi/ghq/github.com/vim-jp-radio/LP/src/lib/Background/Background.svelte
54:2 error Parsing error: Unknown directive or attribute (AttachTag) are not supported
Link to GitHub Repo with Minimal Reproducible Example
Sorry no reproduction repo.
I think we need to update parser
Additional comments
No response
Metadata
Metadata
Assignees
Labels
No labels