@fimbul/bifrost
Advanced tools
Changelog
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.9.0
Features:
parameter-properties
(contributed by @aervin)no-duplicate-spread-property
prefer-namespace-keyword
no-useless-declare
ban-dom-globals
bifrost
added a function to wrap Fimbullinter rules for the use in TSLintBugfixes:
await-only-promise
now allows for-await-of
with Iterable<PromiseLike<any>>
, previously it only allowed AsyncIterable<any>
no-duplicate-case
added check for unions of literal typesno-inferred-empty-object
handles generic functions declared in JSDocno-useless-assertion
fixed detection if variable may be used before being assigned and thus the non-null assertion is actually necessaryChangelog
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