Closed hemisu closed 9 months ago
@hemisu The lint
extension is
not added by default and needs to be added manually.
@hemisu Example: https://codemirror.net/examples/lint/
You can find the solution you need at https://discuss.codemirror.net/.
@jaywcjlove add lint but not work well
There are missing braces linter(jsonParseLinter)
-> linter(jsonParseLinter())
. See fixed code.
But still, the linting is not satisfactory. The minimalistic red arrow in the mittle of the line, and the missing error icon in the line numbers bar. This was also reported here https://discuss.codemirror.net/t/json-linter-ux/3560.
look this not show the diagnose error