camunda / camunda-modeler-linter-plugin

Check your BPMN diagrams for common issues
37 stars 8 forks source link

Release version 0.1 #4

Closed nikku closed 5 years ago

nikku commented 6 years ago

Depends on https://github.com/camunda/camunda-modeler/issues/1434 Depends on https://github.com/bpmn-io/bpmn-js-bpmnlint/issues/13 Depends on https://github.com/bpmn-io/camunda-modeler-plugin-linter/issues/1

StephenOTT commented 5 years ago

What's the status of this work? Is there a way to do this with v3 of the modeler? From the looks of it, the issue is that registerBpmnJsPlugin does not support configuration so you cannot pass the linter config file location when registering the linter plugin.

nikku commented 5 years ago

What exactly is your use case? If we know that we can adapt our infrastructure accordingly.

StephenOTT commented 5 years ago

Using the linter inside of the modeler desktop app.

Would expect to be able to set a path to a folder or a file that has all of the lint rules which would be executed

nikku commented 5 years ago

To be more precise:

StephenOTT commented 5 years ago

We would be building our own rules. But would want them to work in the desultory editor.

I don't think on the fly is required. Restarting the modeler app would be fine as a first Gen

nikku commented 5 years ago

Closed via https://github.com/bpmn-io/camunda-modeler-linter-plugin/releases/tag/v0.1.0.

Providing custom configuration is supported out of the box, too. Cf. README.