You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LSP server: typescriptdefinition; typescript will detect from the URI,
and typescriptsource prevents detection from the URI
Visual Studio Code extension: detected from the file name
Fixed
LSP: On macOS, quick-lint-js no longer hangs if a file has too many
diagnostics.
#property in object expressions are now parsed correctly and do not report E0155.
({k = defaultValue} = o); no longer incorrectly reports E0253 ("use ':'
instead of '=' in object literals").
Class property initializers no longer incorrectly report E0058 ("variable
used before declaration"). Example: class C { myProperty = f(); } const f = () => {};
TypeScript support (still experimental):
quick-lint-js no longer falsely reports E0058 ("variable used before
declaration") for code such as function f<T extends T[]>() {}.
Declaring a type alias or an interface inside a declare namespace no
longer reports E0357 ("'declare namespace' cannot contain statements,
only declarations").
Using a declare-ed variable prior to its declaration is now allowed.
Example: new C(); declare class C { }
Using a variable in a declare class's extends clause prior to the
variable's declaration is now allowed.
Example: declare class Derived extends Base { } class Base { }
VS Code: The extension now loads when only opening a TypeScript file.
(Previously, the extension would only load when you opened a JavaScript or
JSON file.) The quick-lint-js.experimental-typescript setting is still
required.
Vim ALE: JSX syntax is now recognized inside .tsx files.
Changed
quick-lint-js no longer depends on the Boost third-party library. The QUICK_LINT_JS_USE_BUNDLED_BOOST CMake variable now has no effect.