Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikku/bpmnlint-pack-config
Pack bpmnlint configuration into a browser consumable bundle
https://github.com/nikku/bpmnlint-pack-config
bpmnlint browser-pack
Last synced: 3 months ago
JSON representation
Pack bpmnlint configuration into a browser consumable bundle
- Host: GitHub
- URL: https://github.com/nikku/bpmnlint-pack-config
- Owner: nikku
- Created: 2018-09-07T21:54:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-29T21:09:34.000Z (over 2 years ago)
- Last Synced: 2024-05-02T00:05:18.298Z (9 months ago)
- Topics: bpmnlint, browser-pack
- Language: JavaScript
- Homepage:
- Size: 208 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# 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