strager

Results 237 issues of strager

Upgrade RustLSP to the Serde 1.0.0 and languageserver-types 0.50.0. Using a stable version of Serde and a recent version of languageserver-types will let people more easily use rustdt-json_rpc. This pull...

```javascript if (x) { } if (y) { // warn please! } ``` ```javascript if (x) { } if (y) { } // unsure if we should warn... ``` Inspiration:...

for hire

```js useEffect(() => { // BUG: async arrow function not used. async () => { const userReviewsForEachAudiobook = await Promise.all( reviewsUrlList.map((review) => { return fetch(review).then((res) => res.json()); }) ); };...

good first issue
for hire

1. create quick-lint-js.config: `{"globals": {"banana": true}}` 2. create a new file (Unnamed) 3. change the file's language to JavaScript 4. into the new file, write: `banana;` expected: no warning for...

false positive

In a TypeScript type, `keyof T[]` is the same as `number` (I think). The user likely meant `(keyof T)[]`. We should emit a warning, telling them to write either `number`...

for hire

`x++.toString()` seems to be invalid JS. Reject it and suggest parentheses.

false negative

For `myArray[a:b]`, we can suggest writing `myArray.slice(a, b-a)` instead. Similarly, for `myArray[a:]`, we can suggest writing `myArray.slice(a)`. Similarly, for `myArray[:b]`, we can suggest writing `myArray.slice(0, b)`.

for hire

The current DeepL OpenAPI schema says that responses for `/document/{document_id}/result` requests have `Content-Type: application/octet-stream`: https://github.com/DeepLcom/openapi/blob/189588784d656ca8937ee68590a474eb248cc038/openapi.yaml#L593-L606 However, this does not match my interaction with DeepL's production API server. The API can...