blob: d49f73c09ceca45bff36bbd5f9d6109c5a067f2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
local Pkg = require "mason-core.package"
local npm = require "mason-core.managers.npm"
local _ = require "mason-core.functional"
return Pkg.new {
name = "spectral-language-server",
desc = _.dedent [[
Awesome Spectral JSON/YAML linter with OpenAPI/AsyncAPI support. Spectral is a flexible object linter with out
of the box support for OpenAPI v2 and v3, JSON Schema, and AsyncAPI.
]],
homepage = "https://github.com/luizcorreia/spectral-language-server",
languages = { Pkg.Lang.JSON, Pkg.Lang.YAML },
categories = { Pkg.Cat.LSP },
install = npm.packages { "spectral-language-server", bin = { "spectral-language-server" } },
}
|