Product
Introducing Ruby Support in Socket
Socket is launching Ruby support for all users. Enhance your Rails projects with AI-powered security scans for vulnerabilities and supply chain threats. Now in Beta!
bpmn-js-bpmnlint
Advanced tools
Integrates bpmnlint into bpmn-js.
Integrate the linter into bpmn-js:
import lintModule from 'bpmn-js-bpmnlint';
import BpmnModeler from 'bpmn-js/lib/Modeler';
import bpmnlintConfig from './.bpmnlintrc';
var modeler = new BpmnModeler({
linting: {
bpmnlint: bpmnlintConfig
},
additionalModules: [
lintModule
]
});
When instantiating bpmn-js you must use the linting.bpmnlint
option to provide linter configuration.
The option takes a packed bpmnlint configuration which you may create from your local .bpmnlintrc
by using the bpmnlint-pack-config utility:
bpmnlint-pack-config -c .bpmnlintrc -o bundled-config.js
Alternatively you may use an appropriate plugin/loader for your module bundler (cf. rollup-plugin-bpmnlint, bpmnlint-loader) to bundle and consume the configuration directly as shown above.
npm install && npm run dev
MIT
0.8.0
CHORE
: update to bpmnlint@3.3.0
FAQs
bpmn-js integration for bpmnlint
The npm package bpmn-js-bpmnlint receives a total of 10,137 weekly downloads. As such, bpmn-js-bpmnlint popularity was classified as popular.
We found that bpmn-js-bpmnlint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket is launching Ruby support for all users. Enhance your Rails projects with AI-powered security scans for vulnerabilities and supply chain threats. Now in Beta!
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.