Fix pipeline, emoji and syntax (#713)

Fixes #697

Switched to golangci-lint, fixes issues with buildkite and does some linting fixes to appease the new linters.
This commit is contained in:
Andrew Morgan 2019-06-19 14:05:03 +01:00 committed by GitHub
parent 7a2d5b17b9
commit bc382bba46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 342 additions and 118 deletions

View file

@ -585,7 +585,7 @@ func (config *Dendrite) check(monolithic bool) error {
}
// Due to how Golang manages its interface types, this condition is not redundant.
// In order to get the proper behavior, it is necessary to return an explicit nil
// In order to get the proper behaviour, it is necessary to return an explicit nil
// and not a nil configErrors.
// This is because the following equalities hold:
// error(nil) == nil