How to implement linting feature in code-mirror for a custom mode

206 Views Asked by At

I have used ngx-codemirror and set mode to rego. Highlighting is working correctly. How should i implement lint feature for this mode.

1

There are 1 best solutions below

0
On

I don't know how to implement linting for CodeMirror modules, but the source code for the Rego module is available on the Styra GitHub if you want to work with that.