Skip to content
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

Merged
merged 8 commits into from Feb 15, 2012
Merged

Feature/configuration support #5

merged 8 commits into from Feb 15, 2012

Conversation

solnic
Copy link
Contributor

@solnic solnic commented Feb 15, 2012

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!

@txus
Copy link
Member

txus commented Feb 15, 2012

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! :)

@solnic
Copy link
Contributor Author

solnic commented Feb 15, 2012

@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

@txus
Copy link
Member

txus commented Feb 15, 2012

No worries :) We've been using Yard not much long ago hehe.

@solnic
Copy link
Contributor Author

solnic commented Feb 15, 2012

@txus ok I switched the doc format and added more docs

@txus
Copy link
Member

txus commented Feb 15, 2012

Cool, everything passing! Thanks!!

txus pushed a commit that referenced this pull request Feb 15, 2012
@txus txus merged commit 973d73b into codegram:master Feb 15, 2012
@solnic
Copy link
Contributor Author

solnic commented Feb 15, 2012

@txus thanks man!

@mrcasals
Copy link
Contributor

Wow, awesome pull request!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants