Awesome
bpmnlint-loader
Consume bpmnlint config files with webpack.
import { Linter } from 'bpmnlint';
import linterConfig from './.bpmnlintrc';
const linter = new Linter(linterConfig);
Installation
npm i bpmnlint-loader -D
Usage
Configure the loader in your webpack.config.js
.
module.exports = {
// ...
module: {
rules: [
{
test: /\.bpmnlintrc$/,
use: [
{
loader: 'bpmnlint-loader',
}
]
}
]
}
};
This will ensure that bpmnlint configuration files can be consumed by your build.
License
MIT