change function declaration eslint rule
change function declaration eslint rule

https://github.com/dimagi/commcare-hq/pull/26780#discussion_r388361524

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq