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 stylecheck script #1215

Merged
merged 1 commit into from
Feb 23, 2015
Merged

Add stylecheck script #1215

merged 1 commit into from
Feb 23, 2015

Conversation

eugenk
Copy link
Member

@eugenk eugenk commented Feb 18, 2015

This script runs rubocop with a suitable config generated from the
.hound.yml. The hound config includes a key that's not compatible with
rubocop. The config is copied to a tempfile without that key.

Usage

You can check your code for compliance with the style guide by running

script/stylecheck

in the ontohub directory. You can also specify a list of files and folders to go
through with

script/stylecheck app/models/ontology.rb app/models/ontology/

This script runs rubocop with a suitable config generated from the
`.hound.yml`. The hound config includes a key that's not compatible with
rubocop. The config is copied to a tempfile without that key.
@0robustus1
Copy link
Contributor

👍

eugenk added a commit that referenced this pull request Feb 23, 2015
@eugenk eugenk merged commit 64d24b9 into staging Feb 23, 2015
@eugenk eugenk deleted the add_stylecheck_script branch February 23, 2015 13:15
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.

None yet

2 participants