v14.0.0
Major Changes
-
43b7918#155 Thanks @renovate! - Update typescript-eslint to v4- Require
@ts-expect-errorcomments to have a description explaining why - New scope analyzer. This is mostly bugfixes, but it is possible that it could cause rules to (correctly) trigger on code that they didn't before.
- Enabled the new
@typescript-eslint/consistent-type-importsrule, which will auto-fix type imports to use the newimport typesyntax - Enabled
@typescript-eslint/no-unnecessary-conditionand@typescript-eslint/no-unnecessary-boolean-literal-compare. If either of these rules trigger on your code, then that means that either your types are incorrect (likely missing| nullor| undefined), or the condition is not necessary (meaning it either always runs or never runs).
- Require