Skip to content

Commit

Permalink
docs(eslint-plugin): [no-confusing-void-expression] add a default val…
Browse files Browse the repository at this point in the history
…ue for `ignoreVoidReturningFunctions` (#10336)
  • Loading branch information
ronami authored Nov 16, 2024
1 parent ab83198 commit 12ce800
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,13 @@ export default createRule<Options, MessageId>({
},
],
},
defaultOptions: [{ ignoreArrowShorthand: false, ignoreVoidOperator: false }],
defaultOptions: [
{
ignoreArrowShorthand: false,
ignoreVoidOperator: false,
ignoreVoidReturningFunctions: false,
},
],

create(context, [options]) {
const services = getParserServices(context);
Expand Down

0 comments on commit 12ce800

Please sign in to comment.