Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/camunda/camunda-modeler-linter-plugin

Check your BPMN diagrams for common issues
https://github.com/camunda/camunda-modeler-linter-plugin

bpmnlint camunda-modeler camunda-modeler-plugin

Last synced: 2 months ago
JSON representation

Check your BPMN diagrams for common issues

Awesome Lists containing this project

README

        

> **This plugin was replaced by the built-in linting feature of [Camunda Modeler v5.3](https://github.com/camunda/camunda-modeler/blob/develop/CHANGELOG.md#530)**. Check out the [custom lint rules plugin](https://github.com/camunda/camunda-modeler-custom-linter-rules-plugin) to learn how to add custom lint rules to the built-in linting feature.

# camunda-modeler-linter-plugin

[![CI](https://github.com/camunda/camunda-modeler-linter-plugin/workflows/CI/badge.svg)](https://github.com/camunda/camunda-modeler-linter-plugin/actions?query=workflow%3ACI)
[![Compatible with Camunda Modeler version 3.3](https://img.shields.io/badge/Camunda%20Modeler%20<5.3-blue.svg)](https://github.com/camunda/camunda-modeler)

[bpmnlint](https://github.com/bpmn-io/bpmnlint/) as a plugin for the [Camunda Modeler](https://github.com/camunda/camunda-modeler/).

![Screenshot of the plug-in](./docs/screenshot.png)

## Overriding Provided Rules

This plug-ins uses the [recommended bpmnlint and Camunda rules](./.bpmnlintrc).

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](https://github.com/nikku/bpmnlint-loader) to bundle your [`.bpmnlintrc`](https://github.com/bpmn-io/bpmnlint#configuration) for usage in the browser.

For a complete example, checkout the [custom-linter-rules-plugin](https://github.com/camunda/camunda-modeler-custom-linter-rules-plugin) that accomplishes this.

## Licence

MIT