Skip to content

camunda/camunda-modeler-linter-plugin

Repository files navigation

This plugin was replaced by the built-in linting feature of Camunda Modeler v5.3. Check out the custom lint rules plugin to learn how to add custom lint rules to the built-in linting feature.

camunda-modeler-linter-plugin

CI Compatible with Camunda Modeler version 3.3

bpmnlint as a plugin for the Camunda Modeler.

Screenshot of the plug-in

Overriding Provided Rules

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:

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.

Licence

MIT