0.4.0 (2021-09-09)
Beta release.
Changed
- CLI: The
--stdin
option (and-
) no longer search for configuration files
in the current working directory. Use the--path-for-config-search
option to
approximate the old behavior. - Emacs: For scratch buffers, the Flycheck and Flymake plugins no longer
search for configuration files. - Vim: For unnamed buffers, the ALE plugin no longer searches for configuration
files in the current working directory's parent and ancestors. Name the buffer
using the:file
command if you want a configuration file to take effect. - VS Code: The plugin has been rewritten. Performance should be better, but
stability and compatibility might suffer. For example, VS Code on Apple
silicon (AArch64 CPUs) has not been tested and will likely no longer work.
Please report compatibility issues.
Added
- Various new errors (implemented by Himanshu)
- CLI:
--path-for-config-search
allows customizing where configuration files
are found for--stdin
- Global variables for several popular libraries are now recognized by default,
including jQuery, Jasmine, and Jest - Syntax and schema errors in
quick-lint-js.config
no longer crash
quick-lint-js. Instead, these errors are highlighted similar to errors in
JavaScript files. - VS Code:
quick-lint-js.config
is now used when linting opened JavaScript
files.
Fixed
- Building quick-lint-js with AddressSanitizer on Fedora no longer fails in
collect-copyright
- Building quick-lint-js no longer fails if a directory called
brew
exists
anywhere in$PATH
- Various crashes given invalid JavaScript no longer happen (implemented by
wagner riffel and David Vasileff) for (const x of xs)
no longer incorrectly reports E205 (missing
initializer in const declaration) (fixed by Himanshu)- Windows:
quick-lint-js.config
files are now recognized if the containing
directory contains non-ASCII characters - Fix SSE2 corruption on 32-bit Windows builds with MSVC.