Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
bpmn-js-bpmnlint
Advanced tools
Changelog
0.18.2
Re-release of 0.18.1 without pending feature commit.
Readme
Integrates bpmnlint into bpmn-js.
See this extension in action as part of the bpmnlint playground.
Integrate the linter into bpmn-js:
import lintModule from 'bpmn-js-bpmnlint';
import 'bpmn-js-bpmnlint/dist/assets/css/bpmn-js-bpmnlint.css';
import BpmnModeler from 'bpmn-js/lib/Modeler';
import bpmnlintConfig from './.bpmnlintrc';
const modeler = new BpmnModeler({
linting: {
bpmnlint: bpmnlintConfig
},
additionalModules: [
lintModule
]
});
Use an appropriate plugin/loader for your module bundler (cf. rollup-plugin-bpmnlint, bpmnlint-loader) to bundle the bpmnlint configuration directly with your application as shown above.
Alternatively, pack your local .bpmnlintrc
file using the bpmnlint-pack-config utility:
bpmnlint-pack-config -c .bpmnlintrc -o bundled-config.js
Provide the packed lint rules via the linting.bpmnlint
option. You may set it dynamically, too:
const linting = modeler.get('linting');
linting.setLinterConfig(bpmnlintConfig);
npm install
npm run dev
MIT
FAQs
bpmn-js integration for bpmnlint
The npm package bpmn-js-bpmnlint receives a total of 4,548 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 now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.