style(espowerify): relaxing too strict lint rules
refactor(espowerify): extract functions to be lint-free