Skip to content

0.3.0 (2021-07-02)

Compare
Choose a tag to compare
@kyle-wannacott kyle-wannacott released this 08 Apr 00:25
· 38 commits to master since this release

Beta release.

Downloads

Security

  • Vim plugin: Version 0.2.0 executed node_modules/.bin/quick-lint-js without
    validating that the program is really quick-lint-js. The plugin now
    conservatively ignores quick-lint-js in node_modules by default.

Added

  • New JS syntax: .?, class fields, import.meta, top-level await,
    #privateProperties
  • Translations: Swedish (implemented by Kim "Linden")
  • Emacs plugin (implemented by wagner riffel)
  • Neovim plugin
  • Errors and warnings are now documented on the website
  • Various new errors and error message improvements (implemented by
    AidenThing, Daniel La Rocque, Erlliam Mejia, Himanshu, Lee
    Wannacott
    , [Matheus Sousa][])
  • Shell completion for the CLI (Bash, Fish, Zsh) (implemented by Shivam
    Mehta
    )
  • --stdin CLI option allows reading JavaScript from standard input instead of
    a file (implemented by wagner riffel)
  • Partially implemented: Global variables can be configured using a
    quick-lint-js.config file

Fixed

  • Using browser variables such as document and window no longer reports
    undesired undeclared variable warnings
  • with statements and eval no longer cause spurious undeclared variable
    warnings (implemented by Himanshu)
  • ++a[0]; no longer reports an assignment-to-const-variable error if a was
    declared with const (implemented by Himanshu)
  • 'undefined' === typeof foo ? 3 : 4 no longer reports a warning that foo is
    undeclared (implemented by Himanshu)
  • Building tests with GCC 11.1.1 no longer fails due to -Werror
  • Various crashes given invalid JavaScript no longer happen
  • Building the VS Code plugin now works on Windows (implemented by Jimmy
    Qiu
    )