UNPKG

bpmnlint-pack-config

Version:

Pack bpmnlint config to a browser consumable bundle

32 lines (17 loc) 684 B
# bpmnlint-pack-config [![CI](https://github.com/nikku/bpmnlint-pack-config/workflows/CI/badge.svg)](https://github.com/nikku/bpmnlint-pack-config/actions?query=workflow%3ACI) Pack a [bpmnlint](https://github.com/bpmn-io/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: ```javascript import { Linter } from 'bpmnlint'; import linterConfig from './packed-config'; var linter = new Linter(linterConfig); const results = await linter.lint(modelRoot); ``` ## License MIT