Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Add Golint and fix all issues #189

Merged
merged 5 commits into from
Jan 28, 2017
Merged

Add Golint and fix all issues #189

merged 5 commits into from
Jan 28, 2017

Conversation

philipithomas
Copy link
Contributor

Go Report Card reported 26 linting issues with Buffalo:

https://goreportcard.com/report/github.com/gobuffalo/buffalo

I went through and corrected all of them, plus added linting to the Travis test.


@markbates As discussed, I just made standard golint pass. You may want to keep grifts imports as a top-level rather than namespaced. (I personally found this confusing because of how many different type of "Context" types get passed around)

So - if you want me to do some modifications to allow for dot imports and revert those files, let me know.

@@ -4,11 +4,11 @@ import (
"os"

"github.com/gobuffalo/buffalo/examples/hello-world/actions"
. "github.com/markbates/grift/grift"
mbgrift "github.com/markbates/grift/grift"
"github.com/olekukonko/tablewriter"
Copy link
Member

Choose a reason for hiding this comment

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

Why are we using a special name here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops, just pushed a commit to fix it.

when I first started this PR . . . I misread something and thought there was a namespace collision. But there's not.

@markbates
Copy link
Member

Other than the one question I have, this looks good.

@philipithomas
Copy link
Contributor Author

@markbates Corrected

@markbates markbates merged commit 8228e26 into gobuffalo:master Jan 28, 2017
@markbates
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants