camunda / linting

Linting for the Camunda Desktop and Web Modeler
MIT License
2 stars 2 forks source link

WIP feat: add command line utility #120

Closed philippfromme closed 2 weeks ago

philippfromme commented 1 month ago

Makes using the linter from the command line (e.g., linting test/spec/*.bpmn) simple.

nikku commented 1 month ago

I'm not sure I understand the use-case for using this library as a CLI tool for linting.

What keeps folks from just using stock bpmnlint + the compat rules?

philippfromme commented 1 month ago

What keeps folks from just using stock bpmnlint + the compat rules?

You can use this without any configuration which is true for both browser and CLI usage.

nikku commented 1 month ago

But also it is less pluggable, i.e. does not play nicely with custom lint rules, right?

barmac commented 1 month ago

From the command-line utility perspective, the main advantage of @camunda/linting that I can see is the ability to adjust the configuration dynamically based on the diagram target execution version. However, I am not sure if this serves governance well. I imagine that as a diagrams owner, I know where I deploy to, and can set the expected target platform (explicit over implicit). Is there anything I missed?

philippfromme commented 2 weeks ago

Closing this for now.