Skip to content

Commit

Permalink
Remove the , true
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Dec 18, 2022
1 parent 8c76a4a commit 1f5c44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/rules/prefer-optional-chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default util.createRule({
],
create(context, [{ looseFalsiness }]) {
const sourceCode = context.getSourceCode();
const parserServices = util.getParserServices(context, true);
const parserServices = util.getParserServices(context);

return {
'LogicalExpression[operator="||"], LogicalExpression[operator="??"]'(
Expand Down

0 comments on commit 1f5c44e

Please sign in to comment.