Since the legacy config is being deprecated at some point, we should start moving to the eslint flat config.
I avoided the tseslint config helper function so we avoid wrapping magic.
The configs are being merged from top to bottom.
- Are the recommended configs from eslint, svelte, prettier, etc.
- Then come the svelte configs that apply only to svelte files
- Followed by everything typescript
- And lastly there are the rules that apply to all files, followed by the ignored folders for all checking.
This seems to have triggered more checking since any checks in svelte files have appeared and the $$Generic type that is being deprecated had to be rewritten.
Since the legacy config is being deprecated at some point, we should start moving to the eslint flat config.
I avoided the tseslint config helper function so we avoid wrapping magic.
The configs are being merged from top to bottom.
- Are the recommended configs from eslint, svelte, prettier, etc.
- Then come the svelte configs that apply only to svelte files
- Followed by everything typescript
- And lastly there are the rules that apply to all files, followed by the ignored folders for all checking.
This seems to have triggered more checking since any checks in svelte files have appeared and the $$Generic type that is being deprecated had to be rewritten.
Removed unnecessary @typescript-eslint/eslint-plugin package
Remove unused node globals
Fix eslint config so it behaves equal to the current implementation
Add no-empty-function rule again
Rebase
Fix no-empty-function rule cases