CE Backport of !13803: "Fix all `no-implicit-coercion` ESLint violations See merge request gitlab-org/gitlab-ce!29007