macOS
brew install golangci-lint-langserverlocal Homebrew formula metadata
安装
brew install golangci-lint-langserverlocal Homebrew formula metadata
nix profile install nixpkgs#golangci-lint-langservernixpkgs package indexes · pkgs/by-name/go/golangci-lint-langserver/package.nix · 来源: api.github.com
概览
Language server for golangci-lint
历史
golangci-lint-langserver is a small language server that adapts golangci-lint diagnostics to editor LSP clients. Its README defines it directly as a golangci-lint language server and documents editor configuration rather than a large standalone product surface.
The project was demonstrable by an asciinema recording around 2020 and had early 0.0.x releases in that period. Its README centers on launching `golangci-lint-langserver` and passing a `golangci-lint run` command that emits JSON diagnostics.
As golangci-lint evolved from v1 to v2 output flags, the README added version-compatibility guidance: v2 uses `--output.json.path stdout --show-stats=false`, while v1 used `--out-format json`.
Adoption is mostly editor-driven. The README documents coc.nvim, vim-lsp, nvim-lspconfig, Emacs lsp-mode, and Helix configuration, and notes that Emacs lsp-mode has built-in support when the executable is present.
The batch input records Homebrew and Nix packaging, which matches its role as an auxiliary executable installed beside `golangci-lint` rather than as a primary Go toolchain command.
Users install `golangci-lint` separately, install the language server with Go's install command or a package manager, and configure the editor's LSP client to run it for Go files.
The language server shells out to `golangci-lint run` and reads JSON output, so its practical behavior is tightly coupled to the installed golangci-lint version and the project's `.golangci` configuration.
For package nerds, golangci-lint-langserver is the glue package: it turns a CI-oriented linter runner into editor feedback without reimplementing the linters. That is useful in Homebrew and Nix because users can compose it with pinned versions of `golangci-lint`, Neovim, Emacs, or Helix.
Its narrow scope is also the point. The package exists to bridge command-line lint output into LSP diagnostics, so a small, dependency-light binary is more valuable than a broad feature set.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
golangci-lint-langserver | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/nametake/golangci-lint-langserver
安装元数据
| 软件包键 | brew:golangci-lint-langserver |
|---|---|
| 版本 | 0.0.12 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/golangci-lint-langserver |
| 主页 | https://github.com/nametake/golangci-lint-langserver |
| 仓库 | https://github.com/nametake/golangci-lint-langserver |
| 上游文档 | https://github.com/nametake/golangci-lint-langserver#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/nametake/golangci-lint-langserver/archive/refs/tags/v0.0.12.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | golangci-lint-langserver |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
golangci-lint-langserver
nix profile install nixpkgs#golangci-lint-langserver来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.