Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.18 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.18 KB

concourse-pipeline-jsonschema

License

Json Schema for Concourse Pipeline

why?

I developed cappyzawa/fly-lint.vim: Vim Plugin for fly.
This vim plugin executes format or lint via vim command.

I was using it, but I wanted completition as well as linter for the Concourse pipeline.

redhat-developer/yaml-language-server: Language Server for Yaml Files seemed to fulfill my hope.
This tool only needs Json Schema, so I created it for Concourse Pipeline.

Usage

redhat-developer/yaml-language-server: Language Server for Yaml Files should been installed.

There are clients for this lsp.

This json schema needs to be linked with the concourse pipeline file by the setting of lsp client.

yaml.schemas: {
  "https://raw.githubusercontent.com/cappyzawa/concourse-pipeline-jsonschema/master/concourse_jsonschema.json": "/pipeline.yml"
}