bpmn-js-bpmnlint as a plug-in for the Camunda Modeler
npm install camunda-modeler-linter-plugin

bpmnlint as a plugin for the Camunda Modeler.
This plug-ins uses the recommended bpmnlint and Camunda rules.
You may override this via your own Camunda Modeler client plug-in as shown below:
``javascript
import {
registerBpmnJSPlugin
} from 'camunda-modeler-plugin-helpers';
import customLinterConfig from './.bpmnlintrc';
registerBpmnJSPlugin({
__init__: [
function(linting) {
linting.setLinterConfig(customLinterConfig);
}
]
});
`
Please note that you must use the bpmnlint-loader to bundle your .bpmnlintrc` for usage in the browser.
For a complete example, checkout the custom-linter-rules-plugin that accomplishes this.
MIT