Hi
I run the app example from git:
I have a few questions:
-
How can I know what the error is?
(there is one error, no end event)

-
There is a way to get the full list of errors (in code)?
-
Why can’t I see warnings? How do I turn it on?
4.Any other events of linting? (Except ‘linting.toggle’)

Thanks 
1: Please share a CodeSandbox so we can expect what’s going on in your code.
2+3+4: This demo is using bpmn-js-bpmnlint
under the hood. You’re right, that the linting.toggle
event is not containing the linting itself.
What you can do instead, is to listen for the linting.completed
event. Inside the Linting.js
you can find other events which are related to linting.
modeler.on('linting.completed', function (event) {
console.log(event.issues);
});
Also see this sandbox.
1 Like
Thanks
link for question 1 : sandbox
How can I know what the error is?
(there is one error, no end event)
For some reason it is hidden
There is an open issue for this that you can’t see errors for flow elements container, so the missing end event error in your case: https://github.com/bpmn-io/bpmn-js-bpmnlint/issues/23
1 Like
OK I got it 
There is an option to fix it as ‘add rules’ ?
(like no-manual-task.js and target-namespace.js in bpmnlint-playground/plugin/rules/
@Niklas_Kiefer
What do you think?
Can you explain a bit more in detail? Didn’t get yet what you want to achieve