blob: 02f23ccfd0b60895146ad29545353878ec4ef3df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
local Pkg = require "mason-core.package"
local _ = require "mason-core.functional"
local npm = require "mason-core.managers.npm"
return Pkg.new {
name = "commitlint",
desc = "commitlint checks if your commit messages meet the conventional commit format.",
homepage = "https://commitlint.js.org/",
languages = { Pkg.Lang.GitCommit },
categories = { Pkg.Cat.Linter },
install = npm.packages {
"@commitlint/cli",
"@commitlint/config-conventional",
"commitlint-format-json",
bin = { "commitlint" },
},
}
|