@fimbul/mimir
Advanced tools
Changelog
v0.20.0
:tada: Since the last release we published an official extension for VSCode.
:warning: Breaking Changes:
Features:
bifrost
: pass names of all linted files to TSLint formattersno-useless-destructuring
no-useless-assertion
: detect redundant as const
assertionsno-useless-assertion
: stricter checks of literal type assertions in const context ({ prop: 1 as 1 } as const
)no-inferred-empty-object
: correctly handle higher order function type inference (type parameter propagation) and unions of call signaturesBugfixes:
wotan
: fixed a crash caused by changes to TypeScript's internal APIno-useless-predicate
: fixes false positive with typeof {} === 'object'
no-useless-assertion
: don't treat as const
like as any
Changelog
v0.19.0
Features:
no-useless-try-catch
no-useless-predicate
: detect comparing a literal type with itselfno-useless-predicate
: detect redundant uses of key in obj
where key
is known to always be present in obj
Bugfixes:
no-useless-predicate
: treat property access on index signatures as potentially undefined
no-useless-predicate
: don't report expressions as "always truthy" without strictNullChecks
no-useless-predicate
: avoid nested finding by reporting only the innermost finding