[no-unnecessary-condition] optional chaining clarification #1977
Labels
bug
Something isn't working
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
i just want some clarification on this bullet point in https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unnecessary-condition.md .
does that mean it will only check the first value in a chain?
e.g.
foo?.bar
or will it continue to check down the chain but stop at qux?
e.g.
foo?.bar?.baz?.qux
The text was updated successfully, but these errors were encountered: