Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikku/rollup-plugin-bpmnlint
Convert bpmnlint config files to consumable modules.
https://github.com/nikku/rollup-plugin-bpmnlint
bpmnlint rollup-plugin
Last synced: 21 days ago
JSON representation
Convert bpmnlint config files to consumable modules.
- Host: GitHub
- URL: https://github.com/nikku/rollup-plugin-bpmnlint
- Owner: nikku
- License: mit
- Created: 2018-09-19T09:01:49.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-04-07T22:15:07.000Z (9 months ago)
- Last Synced: 2024-05-02T00:05:21.608Z (8 months ago)
- Topics: bpmnlint, rollup-plugin
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# rollup-plugin-bpmnlint
[![CI](https://github.com/nikku/rollup-plugin-bpmnlint/actions/workflows/CI.yml/badge.svg)](https://github.com/nikku/rollup-plugin-bpmnlint/actions/workflows/CI.yml)
Convert [bpmnlint](https://github.com/bpmn-io/bpmnlint) config files to consumable modules.
```javascript
import { Linter } from 'bpmnlint';import linterConfig from './.bpmnlintrc';
const linter = new Linter(linterConfig);
```## Installation
```sh
npm i rollup-plugin-bpmnlint -D
```## Usage
```js
import { rollup } from 'rollup';import bpmnlint from 'rollup-plugin-bpmnlint';
import nodeResolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';rollup({
input: 'main.js',
plugins: [
nodeResolve(),
commonjs(),
bpmnlint({
// matching .bpmnlintrc files per default
include: '**/.bpmnlintrc',// undefined per default
exclude: [ ],// an compiler that transforms a .bpmnlintrc
// file into the actual bpmnlint configuration
compileConfig: null
})
]
});
```## License
MIT