bpmn-io / bpmnlint

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

Customizing inherited rules leads to rule duplication #20

Closed nikku closed 6 years ago

nikku commented 6 years ago

Reproduce

Given the following configuration:

{
  "extends": "bpmnlint:all",
  "rules": {
    "label-required": 1,
    "start-event-required": 2,
    "end-event-required": 2
  }
}

The linter will report an error (as defined in bpmnlint:all) and a warning (overridden in the config) for label-required.

Expected Behavior