aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/index/yamllint/init.lua
blob: 93b17f7248cbf9f2e39f29a5e352620526e38f30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local Pkg = require "mason-core.package"
local _ = require "mason-core.functional"
local pip3 = require "mason-core.managers.pip3"

return Pkg.new {
    name = "yamllint",
    desc = _.dedent [[
        Linter for YAML files. yamllint does not only check for syntax validity, but for weirdnesses like key repetition
        and cosmetic problems such as lines length, trailing spaces, indentation, etc.
    ]],
    homepage = "https://github.com/adrienverge/yamllint",
    languages = { Pkg.Lang.YAML },
    categories = { Pkg.Cat.Linter },
    install = pip3.packages { "yamllint", bin = { "yamllint" } },
}