@fimbul/ve
Advanced tools
Changelog
v0.12.0
Features:
no-inferred-empty-object
: handle multiple JSDoc @template
tags starting from TypeScript@3.0.0no-unstable-api-use
: better error message for signaturesno-useless-initializer
: check computed names in destructuringBugfixes:
no-return-await
, await-only-promise
, no-useless-assertion
: fixer looks into tagged templates when parenthesizingprefer-dot-notation
: fixer adds parens around numeric literalstype-assertion
: no longer emit invalid code when fixing to classic styleChangelog
v0.11.0
:warning: Breaking Changes:
prefer-number-isnan
-> prefer-number-methods
which checks isFinite
in additionFeatures:
no-octal-escape
type-assertion
delete-only-optional-property
resolveJsonModule
compilerOptionunknown
type introduced in TypeScript@3.0.0--fix
no longer autofixes files with syntax errors to prevent further destroying your codeBugfixes:
no-inferred-empty-object
with TypeScript@3.0.0 and multiple JSDoc @template
tagsno-useless-assertion
: better handling of contextual typesno-useless-predicate
: handle intersection typesprefer-for-of
: ensure iterated object implements iteration protocolprefer-for-of
: ensure iterator yields the same type as index signatureno-unstable-api-use
: check element access with well-known symbolsChangelog
v0.10.0
This release fixes a few bugs related to the release process:
Bugfixes:
no-nan-compare
: also detects comparing with Number.NaN
Changelog
v0.6.0
Features:
new-parens
no-case-declaration
no-duplicate-case
no-misused-generics
no-useless-jump-label
prefer-for-of
ymir
for commonly used rule predicates: @excludeDeclarationFiles
and @typescriptOnly
Bugfixes:
tsconfig.json
are now reported as warnings instead of errors. That allows the use of older versions of TypeScript while using compiler options introduced in a later version.no-useless-predicate
now also checks case
clauses of switch
statements