From 9398faaff3e6d4d5cd7a06006b8a6370887aece6 Mon Sep 17 00:00:00 2001 From: Zed Date: Fri, 20 Sep 2024 22:05:05 +0100 Subject: [PATCH] Revert 'feat(go): Add golangcilint as default linter (#1213)' 2467e24 'feat(go): Add golangcilint as default linter (#1213)' --- lua/astrocommunity/pack/go/README.md | 1 - lua/astrocommunity/pack/go/init.lua | 13 ++----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/lua/astrocommunity/pack/go/README.md b/lua/astrocommunity/pack/go/README.md index 99ccb00d8..9e8b00bcd 100644 --- a/lua/astrocommunity/pack/go/README.md +++ b/lua/astrocommunity/pack/go/README.md @@ -15,4 +15,3 @@ This plugin pack does the following: - [impl](https://github.com/josharian/impl) - Adds [nvim-dap-go](https://github.com/leoluz/nvim-dap-go) for debugging - Adds [gopher.nvim](https://github.com/olexsmir/gopher.nvim) for language specific tools -- Adds [golangcilint](https://github.com/golangci/golangci-lint) for linting diff --git a/lua/astrocommunity/pack/go/init.lua b/lua/astrocommunity/pack/go/init.lua index 3c00e815e..bedd7aeb0 100644 --- a/lua/astrocommunity/pack/go/init.lua +++ b/lua/astrocommunity/pack/go/init.lua @@ -73,7 +73,7 @@ return { opts = function(_, opts) opts.ensure_installed = require("astrocore").list_insert_unique( opts.ensure_installed, - { "gomodifytags", "iferr", "impl", "gotests", "goimports", "golangci_lint" } + { "gomodifytags", "iferr", "impl", "gotests", "goimports" } ) end, }, @@ -90,7 +90,7 @@ return { opts = function(_, opts) opts.ensure_installed = require("astrocore").list_insert_unique( opts.ensure_installed, - { "delve", "gopls", "gomodifytags", "gotests", "iferr", "impl", "goimports", "golangci-lint" } + { "delve", "gopls", "gomodifytags", "gotests", "iferr", "impl", "goimports" } ) end, }, @@ -155,13 +155,4 @@ return { }, }, }, - { - "mfussenegger/nvim-lint", - optional = true, - opts = { - linters_by_ft = { - go = { "golangcilint" }, - }, - }, - }, }