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
Feature/configuration support #5
Conversation
AWESOME! Thank you! Just one minor thing: in this project we're using Tomdoc to document. Would you mind switching your code to do that? After this I'll run the tests and merge this in right away! :) |
@txus oh I'm sorry, I've been writing yard docs for too long and I'm just like a robot and do it automatically now :) so yeah, I'll fix and also add missing docs |
No worries :) We've been using Yard not much long ago hehe. |
@txus ok I switched the doc format and added more docs |
Cool, everything passing! Thanks!! |
Configuration support. Closes #3
@txus thanks man! |
Wow, awesome pull request!! |
Hey Guys,
So I quickly added support for configuration via Pelusa::Configuration class. It tries to read
.pelusa.yml
in the current directory and runs stuff based on the config. Initially it only supports disabling/enabling lints and setting custom limits for InstanceVariables and LineRestriction lints. It should be easy to add more options of course.Let me know what you think. I can tweak/improve things based on your feedback.
Cheers!