An example bpmnlint plug-in.
This plugin shows how to contribute rules and configuration to bpmnlint.
The ./rules
folder contains rules that are made available via
this plug-in. Configure them with the example
prefix in your .bpmnlintrc
:
{
"rules": {
"example/no-manual-task": "warn"
}
}
Checkout ./test.js
to learn how to test your rules.
As part of the ./index.js
the plug-in exposes configurations
to extend from using extends
in the bpmnlint configuration:
{
"extends": [
"bpmnlint:recommended",
"plugin:example/recommended"
]
}
Use the bpmnlint-playground to visually debug your rules.
MIT