File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/oxc_linter/src/rules/eslint Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,12 @@ declare_oxc_lint!(
6565 /// First option:
6666 /// - Type: `string`
6767 /// - Enum: `"always"`, `"as-needed"`, `"never"`
68- /// - Default: `"never "`
68+ /// - Default: `"as-needed "`
6969 ///
7070 /// Possible values:
71- /// * `never` enforces no braces where they can be omitted (default )
71+ /// * `never` enforces no braces around the function body (constrains arrow functions to the role of returning an expression )
7272 /// * `always` enforces braces around the function body
73- /// * `as-needed` enforces no braces around the function body (constrains arrow functions to the role of returning an expression )
73+ /// * `as-needed` enforces no braces where they can be omitted (default )
7474 ///
7575 /// Second option:
7676 /// - Type: `object`
You can’t perform that action at this time.
0 commit comments