Issues with svelte import #lib

Hi,

I’m on version Community Build v26.9.0.129388, i’ve got issues with the new import of the version 3 of sveltekit : Migrating to SvelteKit v3 • SvelteKit Docs

I upgrade my package.json and typescript.json with this new rule and i always got this error :

Either remove this import or add it as a dependency.

import { toto } from '#lib/config/toto.ts';

Hey @Afpaa, welcome to the Community! I’ve taken the liberty to move this thread to the false positive/false negative category, because I understand what you’re reporting is essentially a false positive on rule typescript:S4328, right?

Could you share a snippet of your package.json showing the dependency being imported? Are you able to create a dummy, reproducer project where you simply import the dependency, then scan it and see this false positive popping up? If so, could you share it?