Skip to content

2.9.0 (2022-09-05)

Compare
Choose a tag to compare
@strager strager released this 04 Apr 03:45
· 2189 commits to master since this release

Downloads

Added

  • tag.toUpperCase() === 'img' now reports E0286, and
    tag.toLowerCase() === 'IMG' now reports E0287 (implemented by Roland
    Strasser
    ).

Fixed

  • (param) { body(); } now reports E0176 ('missing arrow operator for arrow
    function') (implemented by Roland Strasser).
  • quick-lint-js no longer crashes if a TypeScript type alias appears in a
    JavaScript file.
  • quick-lint-js now recognizes the jest global variable from the Jest test
    framework. This suppresses undesired E0057 ("use of undeclared variable")
    warnings.
  • await () => x no longer reports x as undeclared multiple times. (E0178
    is still reported, as intended.)
  • Defining a global variable in quick-lint-js.config which is already declared
    by default now always changes the shadowable and writable settings.
  • await () => await () => ... no longer slows down linting and consumes a lot
    of memory.