diff options
Diffstat (limited to 'lua/mason-registry/semgrep/init.lua')
| -rw-r--r-- | lua/mason-registry/semgrep/init.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lua/mason-registry/semgrep/init.lua b/lua/mason-registry/semgrep/init.lua new file mode 100644 index 00000000..45e766cb --- /dev/null +++ b/lua/mason-registry/semgrep/init.lua @@ -0,0 +1,22 @@ +local Pkg = require "mason-core.package" +local pip3 = require "mason-core.managers.pip3" + +return Pkg.new { + name = "semgrep", + desc = "Semgrep is a fast, open-source, static analysis engine for finding bugs, detecting vulnerabilities in third-party dependencies, and enforcing code standards.", + homepage = "https://github.com/returntocorp/semgrep", + languages = { + Pkg.Lang["C#"], + Pkg.Lang.Go, + Pkg.Lang.Java, + Pkg.Lang.JavaScript, + Pkg.Lang.JSON, + Pkg.Lang.PHP, + Pkg.Lang.Python, + Pkg.Lang.Ruby, + Pkg.Lang.TypeScript, + Pkg.Lang.Scala, + }, + categories = { Pkg.Cat.Linter }, + install = pip3.packages { "semgrep", bin = { "semgrep" } }, +} |
