@fimbul/ve
Advanced tools
Changelog
v0.1.0
Features:
yarn add @fimbul/wotan@next @fimbul/ve@next ...
(or npm install
if you prefer).ve
: use SAX parser for performance and avoid false positive matches of <script>
tagswotan
:
typecheck
: type errors as lint rule failures (similar to tslint --type-check
, but is correctly formatted and can be ignored like any other rule)syntaxcheck
: syntax errors as lint rule failuresno-inferred-empty-object
: warns about uninferred type parameters that might cause unintended behaviorLineSwitchParser
to allow overriding the default line switch handlingConfigurationProvider
to allow overriding the default config lookup and parsingoverrides:
prefix:
name: some-rule-name # same as `name: { rule: some-rule-name }`
Bugfixes:
wotan
:
no-useless-type-assertion
now correctly handles class expressions and qualified type namesstylish
formatter correctly displays line:col
information for files with BOMChangelog
v0.0.1 - Initial Release
Packages:
@fimbul/wotan
: The main linter runtime with a set of core rules and formatters
json
and stylish
(default)await-promise
warns about unnecessary await on non-Promise valuesdeprecation
detects the use of deprecated APIsno-debugger
bans debugger;
statementsno-fallthrough
warns about unintentional fallthrough in switch casesno-return-await
warns about unnecessary return await foo;
where you can just return foo;
no-unsafe-finally
warns about control flow statements within the finally
blockno-unused-expression
warns about expressions without side-effects whose result is not usedno-unused-label
does what the name suggests, reallyno-useless-assertion
detects assertions that don't change the type of the expressiontrailing-newline
enforces a line break on the last line of a filetry-catch-return-await
enforces the use of return await foo;
inside try-catch blocks@fimbul/ve
: The official processor plugin for Vue Single File Components@fimbul/heimdall
: Plugin to enable the use of TSLint rules and formatters within Wotan@fimbul/bifrost
: Allows authors of TSLint rules and formatters to make them available for Wotan without refactoring.