[resolved] lint not work corrently

look at this demo

https://codemirror.net/try/?c=aW1wb3J0IHtiYXNpY1NldHVwLCBFZGl0b3JWaWV3fSBmcm9tICJjb2RlbWlycm9yIgppbXBvcnQgeyBqc29uLCBqc29uUGFyc2VMaW50ZXIgfSBmcm9tICdAY29kZW1pcnJvci9sYW5nLWpzb24nOwppbXBvcnQge2xpbnRlcn0gZnJvbSAiQGNvZGVtaXJyb3IvbGludCIKCm5ldyBFZGl0b3JWaWV3KHsKICBkb2M6ICJ7IFwiMVwiOiAxLCwsfVxuIiwKICBleHRlbnNpb25zOiBbYmFzaWNTZXR1cCwganNvbigpLCBsaW50ZXIoanNvblBhcnNlTGludGVyKV0sCiAgcGFyZW50OiBkb2N1bWVudC5ib2R5Cn0pCg==

jsonParseLinter is a function that returns a lint source. So add () after it and your example works.

thanks for your reply
I find the problem recently is version mismatch:

@codemirror/lint 6.4.2
└── @codemirror/view 6.20.2

and I override view to 6.21.2 then solved this question