We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.15.14
npx oxlint --fix
.oxlintrc.json
// No config, just defaults
Similar to #4093 but with a promise chain instead of await.
await
Promise.all(['one']).then((result) => result[0]); Promise.all(['one']).then(([one]) => one);
This is fixed to the following incorrect code:
Promise.resolve('one').then((result) => result[0]); Promise.resolve('one').then(([one]) => one);
oxlint in default config will fix Promise.all([a]) to Promise.resolve(a) without changing the consuming .then().
Promise.all([a])
Promise.resolve(a)
.then()
The text was updated successfully, but these errors were encountered:
camchenry
Successfully merging a pull request may close this issue.
What version of Oxlint are you using?
v0.15.14
What command did you run?
npx oxlint --fix
What does your
.oxlintrc.json
config file look like?// No config, just defaults
What happened?
Similar to #4093 but with a promise chain instead of
await
.This is fixed to the following incorrect code:
oxlint in default config will fix
Promise.all([a])
toPromise.resolve(a)
without changing the consuming.then()
.The text was updated successfully, but these errors were encountered: