bpmnlint-loader

0.1.6 • Public • Published

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

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i bpmnlint-loader

    Weekly Downloads

    2,599

    Version

    0.1.6

    License

    MIT

    Unpacked Size

    3.22 kB

    Total Files

    4

    Last publish

    Collaborators

    • nikku