Skip to content

Commit 313b0db

Browse files
committed
fix(lang): remove gosec (redundant with golangci-lint)
gosec is not in Mason registry and golangci-lint already includes gosec as a default linter, making the standalone entry redundant.
1 parent fe11a89 commit 313b0db

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

lua/core/settings.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ settings["linter_deps"] = {
143143
"oxlint",
144144
-- "rumdl", -- markdownlint Rust rewrite; waiting for rule coverage to mature
145145
"golangci-lint",
146-
"gosec",
147146
"selene",
148147
"shellcheck",
149148
"systemdlint",

lua/modules/configs/completion/nvim-lint.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ return function()
33

44
lint.linters_by_ft = {
55
dockerfile = { "hadolint" },
6-
go = { "golangcilint", "gosec" },
6+
go = { "golangcilint" },
77
lua = { "selene" },
88
markdown = { "markdownlint-cli2" },
99
javascript = { "oxlint" },

0 commit comments

Comments
 (0)