chore(core): format code more consistently