v0.1.0
Features:
- Enabled nightly builds for all packages. These can be installed with
yarn add @fimbul/wotan@next @fimbul/ve@next ...(ornpm installif you prefer). ve: use SAX parser for performance and avoid false positive matches of<script>tagswotan:- New rule
typecheck: type errors as lint rule failures (similar totslint --type-check, but is correctly formatted and can be ignored like any other rule) - New rule
syntaxcheck: syntax errors as lint rule failures - New rule
no-inferred-empty-object: warns about uninferred type parameters that might cause unintended behavior - Introduced
LineSwitchParserto allow overriding the default line switch handling - Introduced
ConfigurationProviderto allow overriding the default config lookup and parsing - Removed implicit configuration lookup in home directory
- Improved error reporting for errors in configuration files
- Fail early for circular aliases or missing rulesDirectories in configuration files
- Allow alias shorthands:
overrides: prefix: name: some-rule-name # same as `name: { rule: some-rule-name }`
- New rule
- Added documentation for rule and package authors
Bugfixes:
- Include missing declarations in bundled declaration files
wotan:- Rule
no-useless-type-assertionnow correctly handles class expressions and qualified type names - Detect MPEG TS files and show a warning. Such files are treated as if they were empty.
stylishformatter correctly displaysline:colinformation for files with BOM
- Rule