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
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.
The text was updated successfully, but these errors were encountered:
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 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.
The text was updated successfully, but these errors were encountered: