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
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
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.
Steps:
first need to install
npm i -g bpmnlint bpmnlint-pack-config
then from your bpmnlint-playground-master git checkout compile .bpmnlintrc file
ex.
bpmnlint-playground-master$ bpmnlint-pack-config -c .bpmnlintrc -o packed-config.js -t es
it will give packed-config.js bundle file now you can import this file and css in your angular application
import * as bpmnlintConfig from ‘./packed-config’; or run via angular.json @import ‘~bpmn-js-bpmnlint/dist/assets/css/bpmn-js-bpmnlint.css’;
Its working in my application.
nikku, need one more help and have one query if i need to compile via bpmnlint-loader through webpack.config.js in angular application
so how can i achieve it?.
Hy Nikku, when i run npx bpmnlint-pack-config i am getting an error
Error: Could not resolve entry module (.bpmnlintrc).
This is the .bpmnlintrc file
{