diff --git a/crates/oxc_linter/src/rules/eslint/arrow_body_style.rs b/crates/oxc_linter/src/rules/eslint/arrow_body_style.rs index 13284f433b89b..a203352ec2fdc 100644 --- a/crates/oxc_linter/src/rules/eslint/arrow_body_style.rs +++ b/crates/oxc_linter/src/rules/eslint/arrow_body_style.rs @@ -65,12 +65,12 @@ declare_oxc_lint!( /// First option: /// - Type: `string` /// - Enum: `"always"`, `"as-needed"`, `"never"` - /// - Default: `"never"` + /// - Default: `"as-needed"` /// /// Possible values: - /// * `never` enforces no braces where they can be omitted (default) + /// * `never` enforces no braces around the function body (constrains arrow functions to the role of returning an expression) /// * `always` enforces braces around the function body - /// * `as-needed` enforces no braces around the function body (constrains arrow functions to the role of returning an expression) + /// * `as-needed` enforces no braces where they can be omitted (default) /// /// Second option: /// - Type: `object`