Fork of zed-extensions/golangci-lint
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
zed-zippy[bot] 6ef278fe6d
Update CI workflows to 3183c04 (#26)
This PR updates the CI workflow files from the main Zed repository
based on the commit
zed-industries/zed@3183c04515

The update includes a new version of the extension CLI which adds
validation for semantic token rules for languages

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
2026-03-25 18:55:55 +00:00
.github/workflows Update CI workflows to 3183c04 (#26) 2026-03-25 18:55:55 +00:00
src chore: Apply clippy autofixes (#21) 2026-03-13 13:50:46 +01:00
.gitignore Remove extension.wasm 2025-02-25 21:11:38 -05:00
Cargo.lock Bump version to 0.2.1 (#22) 2026-03-13 13:53:23 +01:00
Cargo.toml Bump version to 0.2.1 (#22) 2026-03-13 13:53:23 +01:00
extension.toml Bump version to 0.2.1 (#22) 2026-03-13 13:53:23 +01:00
README.md Add the configuration for newer versions (#8) 2025-08-27 10:23:00 +02:00

Zed golangci-lint

A Zed extension for running golangci-lint on your Go code.

Requirements

Configuration

For newer version of golangci-lint (v2)

{
  "lsp": {
    "golangci-lint": {
      "initialization_options": {
        "command": [
          "golangci-lint",
          "run",
          "--output.json.path",
          "stdout",
          "--show-stats=false",
          "--output.text.path="
        ]
      }
    }
  },
  "languages": {
    "Go": {
      "language_servers": ["gopls", "golangci-lint"]
    }
  }
}

Or for older version of golangci-lint (v1)

{
  "lsp": {
    "golangci-lint": {
      "initialization_options": {
        "command": ["golangci-lint", "run", "--out-format", "json", "--issues-exit-code=1"]
      }
    }
  },
  "languages": {
    "Go": {
      "language_servers": ["gopls", "golangci-lint"]
    }
  }
}