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
{{ message }}
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
Currently, eslint-plugin-svelte3 doesn't support typescript because it would require preprocessing, and there is currently no support for preprocessors of any kind. There is a cli tool to check for typescript errors (svelte-check), but no straightforward linting solution for typescript-enabled svelte components.
We might consider something like this approach, but with a more recent version of svelte-preprocess; in any case, getting eslint-plugin-svelte3 working with a preprocessor and specifically with typescript will be a nontrivial chore.
@sarahscott take a look at this repo where I did more or less the same as you mention in the other repo I made but using patch-package to avoid weird tricky fix lol... in that case you only would need to copy the patch related to eslint-plugin-svelte3, install patch-package and add the postinstall script to apply the patch after install the eslint-plugin-svelte3
Currently,
eslint-plugin-svelte3
doesn't support typescript because it would require preprocessing, and there is currently no support for preprocessors of any kind. There is a cli tool to check for typescript errors (svelte-check
), but no straightforward linting solution for typescript-enabled svelte components.We might consider something like this approach, but with a more recent version of
svelte-preprocess
; in any case, gettingeslint-plugin-svelte3
working with a preprocessor and specifically with typescript will be a nontrivial chore.Relevant issues to track:
Inspo from other frameworks, should we take this on:
The text was updated successfully, but these errors were encountered: