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

Support linting remote GitHub projects via the API #16

Merged
merged 9 commits into from
Dec 13, 2014
Merged

Conversation

pengwynn
Copy link
Owner

A pretty big chunk of changes, this PR provides support for linting remote projects by passing --github owner/repo in the command line (so you don't have to clone the project locally). I want to use some of this code in a small web app, so I tried to separate the CLI stuff from the rest of the library.

Since I'm still learning idiomatic Go, I'd ❤️ some 👀 from @penland365, @jingweno, and @rubyist if y'all have the time.

@@ -0,0 +1,53 @@
package flint

type LintError struct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you planning to make this implement the Error interface?

@pengwynn
Copy link
Owner Author

Thanks @jingweno! 🤘

I made those changes and some other cleanup. ea93e9a...6f8f4b2

@owenthereal
Copy link

👍 :shipit:

pengwynn added a commit that referenced this pull request Dec 13, 2014
Support linting remote GitHub projects via the API
@pengwynn pengwynn merged commit a98724b into master Dec 13, 2014
@pengwynn pengwynn deleted the remote-lint branch December 13, 2014 18:44
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.

5 participants