Enable yaml linting in codemirror

Viewed 304

I want to enable linting for yaml in code mirror but even after adding lint:true I am unable to see linting for yaml, the same works fine for other language like JavaScript.

2 Answers

According to the documentation, CodeMirror doesn't come with a built-in linter for yaml. It only supports the following modes: html, json, javascript, coffeescript and css.

https://codemirror.net/5/doc/manual.html#addons (lint section).

Related