@fimbul/ymir
Advanced tools
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.8.0
Features:
no-invalid-assertion
no-inferred-empty-object
checks JSX elements and tagged templates starting from typescript@2.9.0no-useless-initializer
checks destructuring defaultsBugfixes:
no-inferred-empty-object
correctly checks classes with constructorno-inferred-empty-object
correctly checks classes from JavaScript files that have type parameters in JSDocno-useless-assertion
forbids definite assignment assertions on properties with computed nameno-return-await
wraps object literals returned from shorthand arrow functions in parentheses to avoid syntax errorsno-useless-spread
no longer autofixes object spread to avoid introducing duplicate key errors--project
flag no longer causes a crash when referencing non-existent filesvaltyr
correctly loads custom formattersThanks to @aervin for contributing.
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
statementsChangelog
v0.4.0
This release contains a lot of refactoring and structural changes:
await-promise
to await-only-promise
deprecation
to no-unstable-api-use
Two new packages were split from the wotan
package:
ymir
contains all base types and classes. This package can be used by extension and rule authors to not depend on the full wotan
runtime.mimir
contains all rules, formatters and configuration presets. Together with ymir
this package allows rules to be executed in a different runtime without depending on the whole wotan
packageFeatures:
await-async-result
generator-require-yield
no-nan-compare
no-unreachable-code
prefer-dot-notation
prefer-number-isnan
prefer-object-spread
no-unstable-api-use
(previously deprecation
) also checks @experimental
tagBugfixes:
no-unused-label
no longer forbids labels on statements other than loops and switch