Skip to content

Conversation

ldez
Copy link
Member

@ldez ldez commented Nov 7, 2024

It's a level 2 deprecation (the linter is replaced by a placeholder that does nothing.)

https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle

gomnd has been replaced by mnd.

@ldez ldez added enhancement New feature or improvement linter: update Update the linter implementation inside golangci-lint labels Nov 7, 2024
@ldez ldez added this to the next milestone Nov 7, 2024
@ldez ldez force-pushed the feat/linter-deprecations-step2 branch from 2f56a5b to e5703de Compare November 7, 2024 02:35
@ldez ldez merged commit 874a8ba into golangci:master Nov 7, 2024
15 checks passed
@ldez ldez deleted the feat/linter-deprecations-step2 branch November 7, 2024 21:08
@ldez ldez modified the milestones: next, v1.62 Nov 10, 2024
michalvavrik added a commit to michalvavrik/camel-k that referenced this pull request Sep 8, 2025
- closes: apache#6125

Changes:

- drop `gomnd` as it has been replaced by `mnd` (see golangci/golangci-lint#4572) and then removed (see golangci/golangci-lint#5110)
  - addresses warning: `WARN [lintersdb] The linter "gomnd" is deprecated (step 2) and deactivated. It should be removed
   from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle`
- disable `tenv` as the same functionality is provided by `usetesting` and we enable it with `enable-all: true`
  - addresses warning: `WARN The linter 'tenv' is deprecated (since v1.64.0) due to: Duplicate feature
  another linter. Replaced by usetesting.`
squakez pushed a commit to apache/camel-k that referenced this pull request Sep 9, 2025
- closes: #6125

Changes:

- drop `gomnd` as it has been replaced by `mnd` (see golangci/golangci-lint#4572) and then removed (see golangci/golangci-lint#5110)
  - addresses warning: `WARN [lintersdb] The linter "gomnd" is deprecated (step 2) and deactivated. It should be removed
   from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle`
- disable `tenv` as the same functionality is provided by `usetesting` and we enable it with `enable-all: true`
  - addresses warning: `WARN The linter 'tenv' is deprecated (since v1.64.0) due to: Duplicate feature
  another linter. Replaced by usetesting.`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement linter: update Update the linter implementation inside golangci-lint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants