jp7837

Results 4 issues of jp7837

a.ts ```ts export used = 0; ``` b.ts ```ts export function dynamicallyLoadA() { return import("./a"); } ``` c.ts ```ts import { dynamicallyLoadA } from "./b"; dynamicallyLoadA().then(A => { console.log(A.used); });...

enhancement

The objectHash passed to the JSON diff utility uses the id property of an array element for comparison. If the id is a primitive, this comparison works fine, but if...

### Description For consistency, I feel that the prefer-await-to-then rule should also flag promise.catch and promise.finally so we can enforce async/await everywhere if desired. ### Steps to Reproduce 1. Run...

enhancement

Receiving false positive on line 5 below. Since the key is part of the props spread in the element creation, it should not be flagged. ```ts const elements = source.map((s,...