We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent babbaca commit e66f93bCopy full SHA for e66f93b
crates/oxc_linter/src/rules/promise/no_return_wrap.rs
@@ -52,7 +52,7 @@ declare_oxc_lint!(
52
///
53
/// ### Why is this bad?
54
55
- /// It is unnecessary to use `Promise.resolve` and Promise.reject` for converting raw values
+ /// It is unnecessary to use `Promise.resolve` and `Promise.reject` for converting raw values
56
/// to promises in the return statements of `then` and `catch` callbacks. Using these
57
/// operations to convert raw values to promises is unnecessary as simply returning the raw
58
/// value for the success case and throwing the raw error value in the failure case have the
0 commit comments