quick-lint-js
quick-lint-js copied to clipboard
False positive on 'await await[0]' in top level
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.