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
quick-lint-js's JSX diagnostics can now be configured via quick-lint-js's JSX
mode mechanism. New JSX modes are "none", "react", and "auto"
(default).
Writing a namespace alias with import type, such as in import type ns = otherns;, now reports E0717 ("namespace alias cannot
use 'import type'"). (Implemented by koopiehoop.) (#1139)
x?.y.z now reports E0718 ("using a '.' after a '?.' might fail, since
'?.' might return 'undefined'"). (Implemented by Joshua Pepple.)
(#1128)
for await (...) now reports E0162 ("'await' is only allowed in async
functions") when written in a non-async function. (Implemented by Daniel La
Rocque.) (#1168)
Fixed
quick-lint-js's tracing no longer crashes with an assertion failure when
setting its thread name on FreeBSD. (#1155)
React-specific JSX diagnostics, such as E0193 ("misspelled React
attribute; write 'className' instead"), are now only reported when 'react' is
imported and if 'preact' is not imported. This fixes false warnings in Preact
code. (#1152)
Commas are now allowed after methods in interfaces in .d.ts files. (They
were previously only allowed in .ts files.) (#1171)
quick-lint-js no longer reports warnings for web types such as HeadersInit
in TypeScript code. (#1180)