digitalocean / terraform-provider-digitalocean

Terraform DigitalOcean provider
https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs
Mozilla Public License 2.0
509 stars 278 forks source link

Enable failing linter: unused #1229

Closed loosla closed 1 month ago

loosla commented 1 month ago

Some linters are disabled. Please enable the failing unused linter and make the necessary changes to ensure that the checks pass.

Steps:

  1. Uncomment unused in https://github.com/digitalocean/terraform-provider-digitalocean/blob/6593bad18758574921e74670c9df08ca8e982566/.golangci.yml#L32
  2. Run make lint from the root directory of the repo to see the issues to fix
  3. Fix the issues to make make lint pass