@fimbul/bifrost
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.18.0
:warning: Breaking Changes:
exclude
and overrides[].files
) match dotfiles, e.g. *.spec.ts
now matches .foo.spec.ts
.//wotan-enable-line
in a line disabled by //wotan-disable-next-line
is ignoredFileFilterFactory
, FileFilter
, LineSwitchFilterFactory
, LineSwitchParser
and DefaultLineSwitchParser
Features:
//@ts-nocheck
or checkJs: false
) are never linted with type informationreport-useless-directives
CLI option to report unused and redundant enable and disable commentsBugfixes:
wotan
: added missing exports to the public APIChangelog
v0.17.0
:tada: This release introduces a plugin for TypeScript's LanguageService. This enables in-editor linting while you type. See the docs for more details.
:warning: Breaking Changes:
Failure
was renamed to Finding
throughout the codebaseResolver
adds a new required method getDefaultExtensions
Resolver#resolve
makes parameters basedir
and extensions
optionalRunner
requires a new service FileFilterFactory
suggestion
Features:
@fimbul/mithotyn
provides in-editor linting through a TypeScript LanguageService Pluginsuggestion
--fix
can no longer introduce syntax errorsasync-function-assignability
: checks methods and properties with computed namesasync-function-assignability
: checks method overloads individuallyFileFilterFactory
and FileFilter
allow customizing which files are linted@fimbul/ve
no longer includes the line break after the opening tag in the linted code@fimbul/ve
correctly adjusts the column of findings in the first line if there is no line break after the opening tagprefer-number-methods
: fixed finding locationBugfixes:
const enum
require
Changelog
v0.16.0
Features:
async-function-assignability
BigInt
types and literalsno-duplicate-case
: correctly handles BigInt and (bitwise) negation thereofno-invalid-assertion
: adds an additional check for asserting BigIntsno-useless-predicage
: allows comparing typeof v === "bigint"
no-duplicate-spread-property
: handle spreading of type variables introduced in typescript@3.2Bugfixes:
no-duplicate-case
: only use type information if strictNullChecks
is enabled to avoid false positives..
and .
in glob patterns and file namesno-duplicate-spread-property
: works with intersection types