bpmn-io / bpmnlint

Validate BPMN diagrams based on configurable lint rules.
MIT License
121 stars 36 forks source link

rules(no-disconnected): exclude compensation task and compensation boundary event #59

Closed Nlea closed 3 years ago

Nlea commented 3 years ago

…ry event from the lint error

nikku commented 3 years ago

Thanks for your PR. Good catch on the compensation events.

CI is failing due to a couple of lint errors and we'd need to sort that out before merging. Did the following work for you locally?

npm run all

The lint rules specifically can be partly addressed automatically via the following command:

npm run lint -- --fix
nikku commented 3 years ago

I've cleaned up your PR via https://github.com/bpmn-io/bpmnlint/pull/60.

nikku commented 3 years ago

What is left is the check whether the compensation association exists. I won't pursue that one for now though.

nikku commented 3 years ago

Merged via https://github.com/bpmn-io/bpmnlint/commit/54f181291952d12d5a1f7d938346a10fac1d41e2.

nikku commented 3 years ago

Released as v7.2.1.

Pending integration in downstream libraries and Camunda Modeler Linter Plug-in.