Add optional-chaining support to prevent syntax errors when running the eslint analyzer
gitlab-org/gitlab#118777 (closed)