Skip to content

Commit

Permalink
Docs: add a correct example to no-unsafe-optional-chaining (refs esli…
Browse files Browse the repository at this point in the history
  • Loading branch information
arminyahya committed Jan 28, 2021
1 parent 46e836d commit a2ccc04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rules/no-unsafe-optional-chaining.md
Expand Up @@ -92,6 +92,8 @@ obj?.foo();

obj?.foo.bar;

obj.foo?.bar;

foo?.()?.bar;

(obj?.foo ?? bar)`template`;
Expand Down

0 comments on commit a2ccc04

Please sign in to comment.