Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/early-falcons-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-plugin-svelte': patch
---

chore: execute svelte/experimental-require-slot-types only on Svelte 3 and 4
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ export default createRule('experimental-require-slot-types', {
messages: {
missingSlotsInterface: `The component must define the $$Slots interface.`
},
type: 'suggestion'
type: 'suggestion',
conditions: [
{
svelteVersions: ['3/4']
}
]
},
create(context) {
let isTs = false;
Expand Down
Loading