-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically pick up all files in ./eslint-local-rules
#25
Comments
That sounds reasonable to me! Feel free to send a PR and I'll try not to take as long this time 😬 |
I'm not sure what I meant by this, the config in #23 already do this. I think the only part missing is the automatic exclusion of eslint-plugin-local-rules/index.js Line 8 in 7c47aa8
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Once the rules start to pile up, it's easier to keep them in separate files. Currently I have this in
index.js
:It would be good to add something like it on the condition that:
eslint-local-rules.js
isn't foundeslint-local-rules/index.js
isn't foundeslint-local-rules/*.js
files existThis follows #22 in that it reduces the amount of boilerplate code that one needs to copy-paste. For people who want custom loading logic, they can keep using the index file.
The text was updated successfully, but these errors were encountered: