someGetter (state, getters, rootState, rootGetters) {
Note including all the parameters here is important. If you do not include all four and you want to use rootGetters for example:
someGetter (state, rootGetters) {
rootGetters will be getters because getters is the second argument passed to this function and so you will not actually be on the root scope but instead the local scope.
To access rootGetters in another name spaced module:
someGetter (state, getters, rootState, rootGetters) {
let value = rootGetters["module-name/getterName"](param1);