Add gitlab eslint config to fix syntax errors
What does this MR do?
Attempt to fix gitlab-org/gitlab#118777 (closed)
We use babel for GitLab codebase, but that meant new features (such as optional chaining) caused syntax errors during security scanning. This ensures we are using a similar eslint config and will hopefully make everything ok again
What are the relevant issue numbers?
gitlab-org/gitlab#118777 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer