Closed chee closed 7 years ago
it adds a dependency (find-root
), but that dependency was already a dependency of an already included dependency (pkg-config
)
Thank you for the pull request, @chee. I think it would be great to split out this check into a separate module (for example, uses-eslint
). Would you be interested in publishing such a package?
sure, @sonicdoe, i'll do that !
@sonicdoe
https://github.com/chee/detect-eslint-config i did that
https://www.npmjs.com/package/detect-eslint-config
given a file path it recursively checks for eslint config until it hits a package.json, at which point it stops.
it ignores homedir eslint config.
will update this pr to use it once i get get some :bacon: 🍳 .
updated and pushed
Thanks 👍
closes #194
works for me ready to make any fixes necessary
now i can leave
linter-js-standard
andlinter-eslint
enabled and comfortably switch between projects💚❤️💜💛 。^‿^。 💛💜❤️💚