JavaScript Standards — No optional chaining
RULES.md
Do not use the optional chaining syntax (`?.`) because the current toolchain / Polymer parser has issues with this syntax. In PRAW RULES.md (scope: webcomponents). Enforced by ESLint. ESLint no-restricted-syntax (ChainExpression) in webcomponents: an error in CI (the ESLint step of the build workflow) and in yarn precheck before push.
Connects to
- Web Component Development includes this
- ESLint enforces this
- Serves Platform agnostic
- Applies to Web components