Svelte v5 changed the format of error codes to snake_case, but svelte-ignore still works for the previous kebab-case error codes.
However, I expect support for the old format will be removed eventually.
The new rule help with this migration.
Description
The new rule disallow svelte-ignore using old-style error codes.
Note, however, that they will only be reported if you are using Svelte v5 or later.
Motivation
Svelte v5 changed the format of error codes to snake_case, but
svelte-ignore
still works for the previous kebab-case error codes. However, I expect support for the old format will be removed eventually. The new rule help with this migration.Description
The new rule disallow svelte-ignore using old-style error codes. Note, however, that they will only be reported if you are using Svelte v5 or later.
Examples
Additional comments
No response