clean up lint and add object/is-empty to event/engine dependencies