cletusw / eslint-plugin-local-rules

A plugin for ESLint that allows you to use project-specific rules
MIT License
158 stars 9 forks source link

Consider using "import-from" #2

Closed niksy closed 6 years ago

niksy commented 6 years ago

import-from implements everything from requireUp function so you can reduce code with already existing solution.

Would you be willing to accept PR for this?

cletusw commented 6 years ago

So our plugin actually recurses up from the current directory until it finds a rules file. I'm not seeing that functionality in import-from/resolve-from. As long as that functionality is preserved, I'd accept a PR. Thanks!

cletusw commented 6 years ago

Sorry, closed on accident.

niksy commented 6 years ago

Ah yes, you’re right. Closing this issue.