@fimbul/mithotyn
Advanced tools
Changelog
v0.24.0
:tada: This release contains two major features: caching and code fixes in the LanguageService plugin.
:warning: Breaking Changes:
The changes in the LanguageService plugin require that you update the @fimbul/mithotyn
dependency and the fimbullinter.vscode-plugin
VSCode plugin if you were using one of them.
Features:
no-object-spread-of-iterable
warns about spreading an array into an objectno-implicit-tostring
warns about implicit string coercion of certain types--cache
enables caching for fast incremental linting. Read more about cachingChangelog
v0.21.0
:warning: Breaking Changes:
Rule.supports
can now return a string respresenting the reason for not supporting the fileLinter#lintAndFix
now requires a ProgramFactory
instead of Program
Linter#lintAndFix
UpdateFileCallback
is now expected to only return a SourceFile
no-inferred-empty-object
was renamed to no-uninferred-type-parameter
Features:
--project --references
tsconfig.json
files are cached for all project references--project --fix
no-uninferred-type-parameter
properly handles new default constraint unknown
no-uninferred-type-parameter
now detects uninferred type parameters in JS code falling back to any
no-uninferred-type-parameter
correctly handles higher order function typesno-useless-initializer
checks array destructuringBugfixes:
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