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

Add rubocop support to lint spec tests and make recommended changes #40

Merged
merged 1 commit into from
Nov 23, 2015

Conversation

ghoneycutt
Copy link
Owner

No description provided.

@Phil-Friderici
Copy link

@ghoneycutt that looks very interesting. Only drawback is that the tests runs much longer with rubycop :(

@ghoneycutt
Copy link
Owner Author

@Phil-Friderici Seems about the same as this test which was pre-rubocop

https://travis-ci.org/ghoneycutt/puppet-module-nscd/builds/86252151

The rubocop test run itself runs very fast and is only done with the newest puppet version of each ruby version (except 1.8.7)

Am I missing something?

@ghoneycutt
Copy link
Owner Author

If nothing else, this taught me about using %r{/foo/bar} instead of /\/foo\/bar/ :)

ghoneycutt added a commit that referenced this pull request Nov 23, 2015
Add rubocop support to lint spec tests and make recommended changes
@ghoneycutt ghoneycutt merged commit 0af4012 into master Nov 23, 2015
@ghoneycutt ghoneycutt deleted the rubocop branch November 23, 2015 15:10
@Phil-Friderici
Copy link

Now that I have used rubocop more often I am starting to like it. It actualy helps to find errors and enhance style.

Do you think this is something to get mandatory (activated at Travis) at a later point ?

@ghoneycutt
Copy link
Owner Author

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

Successfully merging this pull request may close these issues.

2 participants