quick-lint-js
quick-lint-js copied to clipboard
quick-lint-js finds bugs in JavaScript programs
```typescript namespace ns { class C {} export {C} // illegal } ```
Let's try GitLab's CI solution. Benefits over GitHub Actions: * Improved security for our macOS M1 worker * Dedicated hardware for x86_64 Linux, macOS, and Windows workers, possibly improving performance...
```js let await = [Promise.resolve('hello')]; console.log(await await[0]); ``` quick-lint-js incorrectly reports redundant 'await' [E0266] for the above code. However, there is no redundant await.
```js let await = 1; await++; ``` qljs shouldn't error in the above code, but it does.
For `import {A} from "mod"`, we don't know if `A` is type-only (e.g. interface), runtime-only (e.g. variable), or type-and-runtime (e.g. class). For `import * as A from "mod"`, we know...
```js while (true) { } console.log("hi"); // warning: code after infinite loop cannot execute ``` ```js for (;;) { } console.log("hi"); // warning: code after infinite loop cannot execute ```...
https://www.typescriptlang.org/docs/handbook/2/classes.html#special-static-names
Make it easier to isolate build time regressions by graphing build times on CI over time.