Removes CommitsList from global namespace

Open Filipa Lacerda requested to merge 38869-commitslist into master

What does this MR do?

Removes CommitsList from global namespace Fixes some eslint problems

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#38869