https://github.com/nikku/bpmnlint-loader
Consume bpmnlint config files with webpack
https://github.com/nikku/bpmnlint-loader
bpmnlint webpack-loader
Last synced: over 1 year ago
JSON representation
Consume bpmnlint config files with webpack
- Host: GitHub
- URL: https://github.com/nikku/bpmnlint-loader
- Owner: nikku
- License: mit
- Created: 2018-09-19T10:24:16.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T18:40:25.000Z (over 1 year ago)
- Last Synced: 2025-03-09T17:16:50.939Z (over 1 year ago)
- Topics: bpmnlint, webpack-loader
- Language: JavaScript
- Homepage:
- Size: 370 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# bpmnlint-loader
[](https://github.com/nikku/bpmnlint-loader/actions?query=workflow%3ACI)
Consume [bpmnlint](https://github.com/bpmn-io/bpmnlint) config files with [webpack](https://webpack.js.org).
```javascript
import { Linter } from 'bpmnlint';
import linterConfig from './.bpmnlintrc';
const linter = new Linter(linterConfig);
```
## Installation
```sh
npm i bpmnlint-loader -D
```
## Usage
Configure the loader in your `webpack.config.js`.
```js
module.exports = {
// ...
module: {
rules: [
{
test: /\.bpmnlintrc$/,
use: [
{
loader: 'bpmnlint-loader',
}
]
}
]
}
};
```
This will ensure that [bpmnlint configuration files](https://github.com/bpmn-io/bpmnlint#configuration) can be consumed by your build.
# License
MIT