Skip to content

mattn/golangci-lint-langserver

 
 

Repository files navigation

golangci-lint-langserver

golangci-lint-langserver is golangci-lint language server.

asciicast

Installation

go get github.com/nametake/golangci-lint-langserver

Configuration

You need to set golangci-lint command to initializationOptions with --out-format json.

Configuration for coc.nvim

coc-settings.json

{
  "languageserver": {
    "golangci-lint-languageserver": {
      "command": "golangci-lint-langserver",
      "filetypes": ["go"],
      "initializationOptions": {
        "command": ["golangci-lint", "run", "--enable-all", "--disable", "lll", "--out-format", "json"]
      }
    }
  }
}

About

golangci-lint language server

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages

  • Go 99.5%
  • Makefile 0.5%