made eslint runnable on envs with no 'factory' nodeca rules