Skip to content

Commit

Permalink
Legit nitpick
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com>
  • Loading branch information
omril1 and JoshuaKGoldberg committed Feb 9, 2022
1 parent 3249b85 commit 914d2f9
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
Expand Up @@ -48,7 +48,7 @@ export default util.createRule({
create(context) {
const sourceCode = context.getSourceCode();
return {
'LogicalExpression[operator=||],LogicalExpression[operator=??]'(
'LogicalExpression[operator="||"], LogicalExpression[operator="??"]'(
node: TSESTree.LogicalExpression,
): void {
const leftNode = node.left;
Expand Down

0 comments on commit 914d2f9

Please sign in to comment.