I use Svelte Kit with ESLint, and my .eslintrc.json includes the svelte3 plugin.
Still, ESLint raises errors on all imports from the $lib folder, which points to src/lib, for example:
3:23 error Unable to resolve path to module '$lib/Glossary.svelte' import/no-unresolved
The error is detected in this import section:
<script>
import Glossary from '$lib/Glossary.svelte';
</script>
It seems as if ESLint is unable to resolve $lib to src/lib, which is defined in svelte.config.js. How can I tell ESLint to expand $lib to src/lib?
P.S.: As suggested by @BenMcCann, I created an issue at https://github.com/sveltejs/kit/issues/1560.