1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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" } },
}
|