Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
bpmn-js-bpmnlint
Advanced tools
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 5,333 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.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.