new to CM, and currently working on a react build. I am trying to have CM6 highlight errors found while linting as in this CM5 example: CodeMirror: Linter Demo
I really like the modular design of CM6 and I know it’s a work in progress. I think it’s because of this and how relatively new it is that I’m unable to figure out how to do this. I’ve been looking through examples here: CodeMirror Examples and have not seen a linting one yet.
Update:
I’ve found this example ( codesandbox-next-363 (forked) - CodeSandbox ) which has gotten basic linting setup. I’m still looking to setup line markers for errors and warnings, as well as having a more general understanding of what’s going on and how to set this up for other languages like JSON