eslint fixes to func-style