bpmnlint-loader
v0.1.6
Published
Consume bpmnlint config files with webpack
Downloads
10,652
Maintainers
Readme
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