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.
branches-sharing-code
1 parent 54b001f commit 198f2e9Copy full SHA for 198f2e9
crates/oxc_linter/src/rules/oxc/branches_sharing_code.rs
@@ -50,12 +50,12 @@ declare_oxc_lint!(
50
///
51
/// Examples of **incorrect** code for this rule:
52
/// ```javascript
53
- /// let foo = if (condition) {
+ /// if (condition) {
54
/// console.log("Hello");
55
- /// 13
+ /// return 13;
56
/// } else {
57
58
- /// 42
+ /// return 42;
59
/// };
60
61
/// if (condition) {
@@ -70,10 +70,10 @@ declare_oxc_lint!(
70
/// Examples of **correct** code for this rule:
71
72
73
74
75
76
77
78
79
0 commit comments