Skip to content

v0.18.0

Compare
Choose a tag to compare
@ajafff ajafff released this 06 Jan 15:21
· 783 commits to master since this release

⚠️ Breaking Changes:

  • configuration: patterns (exclude and overrides[].files) match dotfiles, e.g. *.spec.ts now matches .foo.spec.ts.
  • disable comments: handling of nested ranges changed. //wotan-enable-line in a line disabled by //wotan-disable-next-line is ignored
  • API: completely refactored FileFilterFactory, FileFilter, LineSwitchFilterFactory, LineSwitchParser and DefaultLineSwitchParser

Features:

  • unchecked JS files (//@ts-nocheck or checkJs: false) are never linted with type information
  • added report-useless-directives CLI option to report unused and redundant enable and disable comments

Bugfixes:

  • wotan: added missing exports to the public API
  • patterns in configuration files match dotfiles (see breaking changes)