Skip to content

es-x/no-optional-chaining

disallow optional chaining

This rule reports ES2020 Optional Chaining as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

👌 Examples of correct code for this rule:

Now loading...

🚀 Version

This rule was introduced in eslint-plugin-es v4.0.0.

📚 References