Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

Use maligned instead of aligncheck #367

Merged
merged 1 commit into from
Oct 9, 2017
Merged

Use maligned instead of aligncheck #367

merged 1 commit into from
Oct 9, 2017

Conversation

zmb3
Copy link
Contributor

@zmb3 zmb3 commented Oct 9, 2017

Fixes #92

@alecthomas alecthomas merged commit 90d9878 into alecthomas:master Oct 9, 2017
@alecthomas
Copy link
Owner

Thanks!

richvdh added a commit to matrix-org/gomatrixserverlib that referenced this pull request Nov 9, 2017
gometalinter now uses `maligned` instead of `aligncheck`
(alecthomas/gometalinter#367), so we need to update our
config accordingly.
richvdh added a commit to matrix-org/dendrite that referenced this pull request Nov 13, 2017
gometalinter now uses `maligned` instead of `aligncheck`
(alecthomas/gometalinter#367), so we need to update our
config accordingly.
richvdh added a commit to matrix-org/dendrite that referenced this pull request Nov 14, 2017
gometalinter now uses `maligned` instead of `aligncheck`
(alecthomas/gometalinter#367), so we need to update our
config accordingly.
richvdh added a commit to matrix-org/dendrite that referenced this pull request Nov 14, 2017
gometalinter now uses `maligned` instead of `aligncheck`
(alecthomas/gometalinter#367), so we need to update our
config accordingly.
erikjohnston pushed a commit to matrix-org/dendrite that referenced this pull request Nov 15, 2017
* Update gometalinter config

gometalinter now uses `maligned` instead of `aligncheck`
(alecthomas/gometalinter#367), so we need to update our
config accordingly.

* Update gometalinter

* Disable gotype linter

gotype does not seem to play nicely with the gb vendor directory. In
particular, it wants each of our dependencies to be built and installed (see
golang/go#10969), but (empirically) it will not
accept them being installed in `pkg` but insists on them being in `vendor/pkg`.

This presents a problem because `gb build` builds the packages into `pkg`
(which doesn't seem entirely unreasonable since `.` comes before `vendor` in
`$GOPATH`). `go install github.com/x/y` does install in `vendor/pkg` but
requires us to know the name of each package.

The general conclusion of alecthomas/gometalinter#91
seems to have been that the easiest thing to do is to disable `gotype` for now.

* Fix `unparam` lint

* Fix goshadow lint
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