Bpmnlint: Configure Lint Rules

Hello dear friends ,

I have integrated the bpmn js properties panel in an Angular project , and I want to integrate bpmnlint , i was following this link bpmnlint till Configure Lint Rules when i execute this command on the terminal this error is shown

Couldn’t resole it ,
I didn’t get the meaning of this part

I have created a file on my project named .bpmnlintrc

Thank you in advance!

It tells you that the .bpmnlintrc file you’re referencing is not complete:

Unexpected end of JSON input

Please double-check it and spot the error.

Learn more about the format of a .bpmnlintrc here.

I implemented the same code as the link , and re-execute the command
there is no error output but when i run the project i got this


and this a capture from the project


You have to use the bpmnlint-loader to recognize and pack .bpmnlintrc files.

This is documented here.

yes this result is after executing this command line

I have to add the bpmnlint-loader into webpack.config.js and i got the same error ,
PS : i didn’t know where to add the webpack.config.js file on my angular appplication :confused:

As a general piece of advice, please post actual code snippets or links to documentation, not editor or documentation screenshots. Screenshots make it incredibly hard for me to quote / suggest changes on anything you do.

Here is the detailed flow, if you find yourself unable to integrate any of the loaders into your setup.

  • Create a .bpmnlintrc file in your project
  • Compile that using bpmnlint-pack-config into a JavaScript file
  • Import that JavaScript file in your Angular app

That should work, independent from your actual project setup.