Skip to content

Commit

Permalink
Add golangci linter to go pack
Browse files Browse the repository at this point in the history
Update readme
  • Loading branch information
shivanthzen committed Sep 19, 2024
1 parent 2294ae8 commit 7e4b9b0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions lua/astrocommunity/pack/go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ 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
9 changes: 9 additions & 0 deletions lua/astrocommunity/pack/go/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,13 @@ return {
},
},
},
{
"mfussenegger/nvim-lint",
optional = true,
opts = {
linters_by_ft = {
go = { "golangcilint" },
},
},
},
}

0 comments on commit 7e4b9b0

Please sign in to comment.