@bp3global/bpmn-rules
v0.0.5
Published
BP3's rules to extend Camunda's core set (see bpmnlint)
Readme
bpmn-rules
This package contains BP3's linting rules for Camunda BPMN.
The rules included in this package
The list of rules included in this package is given in the index.js file, but an extended description provided below.
| Rule | Description |
|-----------------------------------------------|-----------------------------------------------------------|
| no-job-worker-user-task-implementation-type | Since 8.7 Job Worker User Tasks can no longer be selected |
| user-task-without-assignee | Validates that user tasks have an assignee |
How to add this rules package to your project
One of the easiest ways to start linting your project is to use camunda-lint.
Add a .bpmnlintrc file to your project. You may find that you have a default one already
{
"extends": "bpmnlint:recommended"
}To add the rules in this package modify your .bpmnlintrc as follows
{
"extends": [
"bpmnlint:recommended",
"plugin:__bp3global__bpmn-rules__0.0.1/recommended"
]
}where 0.0.1 is the version of the rules that you want to include.
How to configure the individual rules in this package
Individual rules can be turned on or off. You can also vary the level at which the rules report,
either info, warn or error.
{
"extends": [
"bpmnlint:recommended",
"plugin:__bp3global__bpmn-rules__0.0.1/recommended"
],
"rules": {
"fake-join": "off",
"label-required": "info",
"__bp3global__bpmn-rules__0.0.1/user-task-without-assignee": "error"
}
}