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:

👌 Examples of correct code for this rule:

🚀 Version ​

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

📚 References ​