support passing in eslint lib, fixes #7