Overriding *.ts files:
Affects every file in the monorepo
Overriding with pattern:
There is no simple way of selecting all the Svelte project files.
Suggested:
Simply removing eslint-plugin-import seems to be the easiest solution. It will cost securing the imports but I don't think it's a bigger problem than the current issue.
Description:
Use of special paths like
$lib/
is throwing errors with eslint-plugin-import in Svelte projects, both in*.svelte
and*.ts
files.Related:
Tried:
Using eslint-import-resolver-custom-alias: Requires setting up ESLint in every Svelte project directory. Not ideal.
Overriding
*.ts
files: Affects every file in the monorepoOverriding with pattern: There is no simple way of selecting all the Svelte project files.
Suggested:
Simply removing eslint-plugin-import seems to be the easiest solution. It will cost securing the imports but I don't think it's a bigger problem than the current issue.