[PR #2009] [MERGED] Remove deprecated linters from golangci-lint #2448

Closed
opened 2025-12-29 03:21:19 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2009
Author: @greizgh
Created: 7/13/2024
Status: Merged
Merged: 7/17/2024
Merged by: @kradalby

Base: mainHead: golangci-lint-love


📝 Commits (1)

  • 4f2a5cf Remove deprecated linters from golangci-lint

📊 Changes

1 file changed (+0 additions, -13 deletions)

View changed files

📝 .golangci.yaml (+0 -13)

📄 Description

When running lints, golangci-lint complained about removed linters (which were already disabled).
This removes the relevant warnings.

Would you be interested in follow up PRs to address the existing warnings? (Ultimately enabling golangci-lint in the CI I guess?)

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2009 **Author:** [@greizgh](https://github.com/greizgh) **Created:** 7/13/2024 **Status:** ✅ Merged **Merged:** 7/17/2024 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `golangci-lint-love` --- ### 📝 Commits (1) - [`4f2a5cf`](https://github.com/juanfont/headscale/commit/4f2a5cff56e980425c57874386d95ce4fdf4cdc0) Remove deprecated linters from golangci-lint ### 📊 Changes **1 file changed** (+0 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `.golangci.yaml` (+0 -13) </details> ### 📄 Description When running lints, golangci-lint complained about removed linters (which were already disabled). This removes the relevant warnings. Would you be interested in follow up PRs to address the existing warnings? (Ultimately enabling golangci-lint in the CI I guess?) <!-- Headscale is "Open Source, acknowledged contribution", this means that any contribution will have to be discussed with the Maintainers before being submitted. This model has been chosen to reduce the risk of burnout by limiting the maintenance overhead of reviewing and validating third-party code. Headscale is open to code contributions for bug fixes without discussion. If you find mistakes in the documentation, please submit a fix to the documentation. --> <!-- Please tick if the following things apply. You… --> - [x] have read the [CONTRIBUTING.md](./CONTRIBUTING.md) file - [ ] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:21:19 +01:00
adam closed this issue 2025-12-29 03:21:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2448