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
<scriptcontext="module"lang="ts">
typeGenericTypes=null|number|string|undefined;typeGenericKeyType<Opt> =keyofOpt|never|null|undefined;typeValueType<Opt, VKeyextendsGenericKeyType<Opt>, VObjextendsboolean> =OptextendsGenericTypes?Opt:VKeyextendskeyofOpt?VObjextendstrue?Opt:Opt[VKey]:never;const dragDrop = (e:any) => {e.preventDefault();e.stopPropagation();/* * Warning: This event is called by the element the item was drop on top of. * Since we need to update the position of the dragged item (the source), we must use a * global context and the onEnd event.*/ };
</script>
What did you expect to happen?
Nothing the code is perfectly valid.
What actually happened?
Link to GitHub Repo with Minimal Reproducible Example
The text was updated successfully, but these errors were encountered:
jamesst20
changed the title
[Bug][svelte/indent] invalid indentation in some specific scenarios
[bug][svelte/indent] invalid indentation in some specific scenarios
Jun 13, 2024
jamesst20
changed the title
[bug][svelte/indent] invalid indentation in some specific scenarios
[bug][svelte/indent] invalid indentation in some specific scenarios inside <script>
Jun 13, 2024
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
9.4.0
What version of
eslint-plugin-svelte
are you using?5.1.3
What did you do?
Configuration
What did you expect to happen?
Nothing the code is perfectly valid.
What actually happened?
Link to GitHub Repo with Minimal Reproducible Example
https://sveltejs.github.io/eslint-plugin-svelte/playground/#eJyNU01PwkAQ/SvjHgwQAonHAiVREg/G4MHgwXrY0mmpLrvN7pRIkP/uLKVVoCYmTTqzb96bN/uxE0uToAjE2C1tXhAsjSb8pEkk1iYpFUYClNQZ5+QiEUYagLYFwj1qtPnymWMHE9ClUvDFv3WMlgNHNtcZB6VOMM01JqNz6gNuPXs8LyhkhQ/cmhQ48TK4OagcVVs0FlKVWNP7sGAxYNuoE9emzxXz+L2piI1RKLVv6xueEQ8z+U4AU49XYXDapLFbob70pAXZEmvoRKfS4vTV673Vi0E1NE/oV/gUHIEza3xEWpmEjXYwAKm3XZiEsKtYOCgskzTNMJWlok53VAOOTPFkTSEzSbnRDTLsHRv24EVazWcUwK2S8eFroIuVoQ/2F+bmtEL74/C3tzyFTj1bpkws1czK7K66XYPUmjVcTY735vr670oy/6trFNskKlq39gaQMDwddNpl+q0a9Q7uD1sR6fGwejGh6AvLD8WJYCfcBhXhMOcLq0kEN/v9NwEAGd4=
Additional comments
No response
The text was updated successfully, but these errors were encountered: