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

Update dependencies (incl. golangci-lint) #347

Merged
merged 8 commits into from
Aug 17, 2022
Merged

Update dependencies (incl. golangci-lint) #347

merged 8 commits into from
Aug 17, 2022

Conversation

akshayjshah
Copy link
Member

  • Lint on Go 1.19
  • Use new Godoc links
  • Update deps, including golangci-lint

Unless new syntax is backward-incompatible, we should lint on the most
recent Go supported Go version. This PR changes lint to run on Go 1.19
and mechanically reformats comments with `gofmt -s -w .`.
Where possible, use Go 1.19's new Godoc links to refer to types,
packages, and external websites.
Update to latest golangci-lint (and other deps). Update to fix lint from
checks that now support generics.
// out: gen
// version: v1
// plugins:
// name: go
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't there be a '-' before each name to separate plugins?

Copy link
Member Author

Choose a reason for hiding this comment

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

🤦🏽‍♂️ Yep!

@akshayjshah akshayjshah merged commit bb13b7a into main Aug 17, 2022
@akshayjshah akshayjshah deleted the ajs/go119 branch August 17, 2022 03:34
alexandrem pushed a commit to alexandrem/connect-go that referenced this pull request Aug 17, 2022
* Lint on Go 1.19

Unless new syntax is backward-incompatible, we should lint on the most
recent Go supported Go version. This PR changes lint to run on Go 1.19
and mechanically reformats comments with `gofmt -s -w .`.

* Use new Godoc links

Where possible, use Go 1.19's new Godoc links to refer to types,
packages, and external websites.

* Update deps, including golangci-lint

Update to latest golangci-lint (and other deps). Update to fix lint from
checks that now support generics.
akshayjshah added a commit that referenced this pull request Jul 26, 2023
* Lint on Go 1.19

Unless new syntax is backward-incompatible, we should lint on the most
recent Go supported Go version. This PR changes lint to run on Go 1.19
and mechanically reformats comments with `gofmt -s -w .`.

* Use new Godoc links

Where possible, use Go 1.19's new Godoc links to refer to types,
packages, and external websites.

* Update deps, including golangci-lint

Update to latest golangci-lint (and other deps). Update to fix lint from
checks that now support generics.
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