Skip to content

Commit 12ce800

Browse files
authored
docs(eslint-plugin): [no-confusing-void-expression] add a default value for ignoreVoidReturningFunctions (typescript-eslint#10336)
1 parent ab83198 commit 12ce800

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/eslint-plugin/src/rules/no-confusing-void-expression.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,13 @@ export default createRule<Options, MessageId>({
9797
},
9898
],
9999
},
100-
defaultOptions: [{ ignoreArrowShorthand: false, ignoreVoidOperator: false }],
100+
defaultOptions: [
101+
{
102+
ignoreArrowShorthand: false,
103+
ignoreVoidOperator: false,
104+
ignoreVoidReturningFunctions: false,
105+
},
106+
],
101107

102108
create(context, [options]) {
103109
const services = getParserServices(context);

0 commit comments

Comments
 (0)