-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
build(deps): bump github.com/mgechev/revive from 1.2.5 to 1.3.2 in /tools #1289
build(deps): bump github.com/mgechev/revive from 1.2.5 to 1.3.2 in /tools #1289
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1289 +/- ##
==========================================
- Coverage 98.09% 97.93% -0.16%
==========================================
Files 50 50
Lines 3249 3249
==========================================
- Hits 3187 3182 -5
- Misses 53 57 +4
- Partials 9 10 +1 see 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@dependabot rebase |
Bumps [github.com/mgechev/revive](https://github.com/mgechev/revive) from 1.2.5 to 1.3.2. - [Release notes](https://github.com/mgechev/revive/releases) - [Changelog](https://github.com/mgechev/revive/blob/master/.goreleaser.yml) - [Commits](mgechev/revive@v1.2.5...v1.3.2) --- updated-dependencies: - dependency-name: github.com/mgechev/revive dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
67b3199
to
371bb9f
Compare
Zap has been maintaining its own bespoke linter setup for a while and it's starting to show its age. For example, the upgrade in #1289 can't go through without either making a change which we disagree with, or configuring revive separately to ignore that linter check. This PR switches to using golangci-lint to run linters. staticcheck is included and enabled by default. For revive, this adds the relevant opt-outs with adequate justification. It also enables a couple govet linter checks that would otherwise be difficult to enable. The result also simplifies our Makefile greatly with the minor added complexity that it assumes golangci-lint is already installed. Another advantage of this setup is that lint runs in a separate parallel CI job while the tests are doing their thing.
@dependabot rebase |
(Superseded by #1323. dependabot will close.) |
Looks like github.com/mgechev/revive is no longer a dependency, so this is no longer needed. |
Bumps github.com/mgechev/revive from 1.2.5 to 1.3.2.
Release notes
Sourced from github.com/mgechev/revive's releases.
Commits
81d85b5
fix #824 (#829)ed6d9ce
Fix prefix trimming in struct-tag (#827)6d5bc51
Move away from deprecated ioutils (#825)b508fa8
fix(deps): update module golang.org/x/tools to v0.9.1 (#811)cd336fc
Fix invalid toml in rule.add-constant example (#819)e20c778
add nolint to default list of acceptable comments for comment-spacings (#822)022236f
fix: error message typo in revivelib.New5558566
Prevent empty-block when looping over call exprdc6909b
fix tests not passing after the modif of the default rules list (#817)b03e54f
empty-block: Fix false positive on select {} (#805)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)