Disable Activate/Deactivate in bpmnlint

Hello, I got able to add bpmnlint into the bpmn canvas in a UI, I would like to know if there is a way to disable the click in the lint counter that appear under the diagram, so a user cannot disable the lint validation from a created process.

Thanks in advance.

The linter button is just another dom element which you can easily manipulate via css.

Disabling the possibility to click can be done by setting

pointer-events: none;

Thanks for your answer, I’m gonna try it that way.