gajus / eslint-config-canonical

The most comprehensive ES code style guide.
Other
589 stars 30 forks source link

Remove @typescript-eslint/no-throw-literal #86

Open Razunter opened 2 weeks ago

Razunter commented 2 weeks ago

Rule @typescript-eslint/no-throw-literal was removed from typescript-eslint in 8.0.0

Config file with this rule

ESLint 9.9.1 refuses to execute with this rule in configs:

TypeError: Key "rules": Key "@typescript-eslint/no-throw-literal": Could not find "no-throw-literal" in plugin "@typescript-eslint". Did you mean "@/no-throw-literal"?

Razunter commented 2 weeks ago

Also @typescript-eslint/member-delimiter-style See https://typescript-eslint.io/blog/deprecating-formatting-rules#upgrading-to-eslint-stylistic