Bpmn lint validation

Hi everyone,
I am using bpmn lint to validate my bpmn workflow, pls tell me how to set the button Toggle linting is always active when I init modeler and how to get all message error/warining

Are your referring to the linting feature in the Camunda Modeler?

Thanks for reply,
I am integrates bpmnlint into bpmn-js as a plugin