v14.0.0
Major Changes
-
43b7918
#155 Thanks @renovate! - Update typescript-eslint to v4- Require
@ts-expect-error
comments 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-imports
rule, which will auto-fix type imports to use the newimport type
syntax - Enabled
@typescript-eslint/no-unnecessary-condition
and@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| null
or| undefined
), or the condition is not necessary (meaning it either always runs or never runs).
- Require