@fimbul/ymir
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.22.0
:warning: Breaking Changes:
Features:
//@ts-nocheck
in .ts files now disables rules with type information for that file, as it was already the case in .js filesChangelog
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 API