bpmnlint-pack-config
v0.8.0
Published
Pack bpmnlint config to a browser consumable bundle
Downloads
27,167
Readme
bpmnlint-pack-config
Pack a bpmnlint configuration as a consumable bundle.
Usage
Pack a configuration using the bpmnlint-pack-config
executable:
npx bpmnlint-pack-config -c .bpmnlintrc -o packed-config.js -t es
Consume the packed config as part of your web-modeler:
import { Linter } from 'bpmnlint';
import linterConfig from './packed-config';
var linter = new Linter(linterConfig);
const results = await linter.lint(modelRoot);
License
MIT