bpmn-io / bpmnlint

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

Provide Additional Information when Calling `Reporter#report` #75

Closed philippfromme closed 2 years ago

philippfromme commented 2 years ago

Provide additional information by providing object as third argument.

Example

Reporter.report('foo', 'Foo error', [ 'foo', 'bar', 'baz' ]);

Reporter.report('foo', 'Foo error', {
  path: [ 'foo', 'bar', 'baz' ],
  foo: 'foo'
});
CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

philippfromme commented 2 years ago

@nikku You might want to have a look. 👀 I thought I'd added you as a reviewer. 🤔

nikku commented 2 years ago

Good thing! :)