javascripts/pages load CE before EE
In ee/app/assets/javascripts/pages
we seem to have some entry points that do not import their CE counterpart. This means we have to write code twice and keep 2 files in sync manually.
We should always load CE before EE so developers can't end up in this situation.
If we do not want to do that we should lint that the CE file is imported in the EE file at some point.
I would also love to see the page files export objects but this is probably a bit more of a stretch.
Example
app/assets/javascripts/pages/groups/show/index.js
ee/app/assets/javascripts/pages/groups/show/index.js
fix: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/11864
Edited by Luke Bennett