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

Rename deadline option to timeout and mark deadline as deprecated #793

Merged
merged 1 commit into from
Oct 8, 2019

Conversation

titusjaka
Copy link
Contributor

fixes #655

@CLAassistant
Copy link

CLAassistant commented Oct 7, 2019

CLA assistant check
All committers have signed the CLA.

@tpounds tpounds added area: config Related to .golangci.yml and/or cli options area: docs labels Oct 7, 2019
@jirfag jirfag merged commit 0cc87df into golangci:master Oct 8, 2019
@jirfag
Copy link
Member

jirfag commented Oct 8, 2019

thank you! I was also embarrassed, but I did not change since it was the same in the gometalinter.

@titusjaka titusjaka deleted the rename-deadline branch October 8, 2019 08:54
jpalermo added a commit to cloudfoundry/cli that referenced this pull request Dec 11, 2019
- deadline was deprecated: golangci/golangci-lint#793

Co-authored-by: Joseph Palermo <[email protected]>
theckman pushed a commit to theckman/golangci-lint that referenced this pull request May 3, 2020
$ git cherry --abbrev -v 0af0999fabfb ee9bf5809ead
+ abd8436 all: enable Go modules on CI (golangci#753)
+ 3c9d0fb checkers: recognize //line and //nolint in commentFormatting (golangci#756)
+ 0b517d7 checkers: extend deprecatedComment patterns (golangci#757)
+ 09100f6 checkers: use astcast package instead of coerce.go (golangci#758)
+ 2e9e97f checker: simplify boolExprSimplify (golangci#759)
+ 575701e make: add go-consistent to CI checks list (golangci#761)
+ b55f431 checkers: fix unlambda handling of builtins (golangci#763)
+ 5a7dee3 checker: handle lambdas properly in boolExprSimplify (golangci#765)
+ 5ce3939 checkers: teach boolExprSimplify a few new tricks (golangci#766)
+ 04d160f checkers: add new patterns to boolExprSimplify (golangci#768)
+ 09582e2 make: collect coverprofile separately from goveralls (golangci#769)
+ d8d0ee4 checkers: recognize NOTE pattern in deprecatedComment (golangci#770)
+ 12f0f85 Update copyright notice to 2019 (golangci#771)
+ f54bdb6 checkers: add stringXbytes checker
+ 170d65c checkers: followup for golangci#773 (golangci#774)
+ 84e9e83 checkers: make stringXbytes more linear (golangci#775)
+ a800815 checkers: add Depreacted typo pattern (golangci#776)
+ 6751be9 checkers: add hexLiterals (golangci#772)
+ ac61906 checkers: add typeAssertChain checker (golangci#782)
+ d19dbf1 checkers: add codegenComment checker (golangci#783)
+ d82b576 checkers: proper pkg/obj check for flagName (golangci#786)
+ dfcf754 ci: enable integration tests (golangci#787)
+ 5dafc45 checkers: fix equalFold false positive (golangci#788)
+ ed5e8e7 checkers: refactor and fix hexLiteral checker (golangci#789)
+ e704e07 checkers: add argOrder checker (golangci#790)
+ 34c1dc8 checkers: add Split handling to argOrder checker (golangci#791)
+ cbe095d checkers: add math.Max and math.Min to dupArg (golangci#792)
+ c986ee5 checkers: add checkers info fields test (golangci#794)
+ 66e5832 cmd/makedocs: use lintpack, fix build (golangci#793)
+ 6bce9d0 cmd/makedocs: add enabled/disabled by default info (golangci#795)
+ 4adbf9a checkers: simplify flagName (golangci#799)
+ 07de34a checkers: add octalLiteral checker (golangci#798)
+ 765907a cmd/makedocs: add checker param docs (golangci#796)
+ ee9bf58 cmd/makedocs: fix headers formatting (golangci#803)
@ldez ldez added this to the v1.20 milestone Mar 6, 2024
worr added a commit to worr/flycheck-golangci-lint that referenced this pull request Mar 20, 2024
golangci-lint added the `--timeout` option to replace `--deadline` in
2019: golangci/golangci-lint#793

In v1.57.0, they fully removed the `--deadline` option, breaking the
current package: https://github.com/golangci/golangci-lint/releases/tag/v1.57.0

This changes the `--deadline` option for the `--timeout` option, but
leaves the configuration for it as-is to not break existing
configuration.
gitlab-runner-bot pushed a commit to gitlabhq/gitlab-runner that referenced this pull request May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: config Related to .golangci.yml and/or cli options area: docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--deadline is a misnomer
5 participants