Skip to content

Consume bpmnlint config files with webpack

License

Notifications You must be signed in to change notification settings

nikku/bpmnlint-loader

Repository files navigation

bpmnlint-loader

CI

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

About

Consume bpmnlint config files with webpack

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project