Skip to content

Fix all EE `no-implicit-coercion` ESLint violations

Nathan Friend requested to merge nfriend-no-implicit-coercion-fixes into master

What does this MR do?

Fixes all EE violations of the no-implicit-coercion ESLint rule, which will be enabled as part of https://gitlab.com/gitlab-org/gitlab-eslint-config/merge_requests/14.

All of these fixes were generated automatically using ESLint's --fix command. Specifically, the following commands were run:

yarn eslint --fix
yarn prettier-all-save

CE counterpart

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29007

Edited by Nathan Friend

Merge request reports