Skip to content

Commit

Permalink
Revert 'feat(go): Add golangcilint as default linter (#1213)'
Browse files Browse the repository at this point in the history
2467e24 'feat(go): Add golangcilint as default linter (#1213)'
  • Loading branch information
zedeus committed Sep 20, 2024
1 parent 5b06dd4 commit 9398faa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion lua/astrocommunity/pack/go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
13 changes: 2 additions & 11 deletions lua/astrocommunity/pack/go/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand All @@ -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,
},
Expand Down Expand Up @@ -155,13 +155,4 @@ return {
},
},
},
{
"mfussenegger/nvim-lint",
optional = true,
opts = {
linters_by_ft = {
go = { "golangcilint" },
},
},
},
}

0 comments on commit 9398faa

Please sign in to comment.