Neophobe Plebeian Mumpsimus
    Have ideas to improve npm?Join in the discussion! »

    rollup-plugin-bpmnlint

    0.1.4 • Public • Published

    rollup-plugin-bpmnlint

    Build Status

    Convert bpmnlint config files to consumable modules.

    import { Linter } from 'bpmnlint';
     
    import linterConfig from './.bpmnlintrc';
     
    const linter = new Linter(linterConfig);

    Installation

    npm i rollup-plugin-bpmnlint -D

    Usage

    import { rollup } from 'rollup';
     
    import bpmnlint from 'rollup-plugin-bpmnlint';
     
    import nodeResolve from 'rollup-plugin-node-resolve';
    import commonjs from 'rollup-plugin-commonjs';
     
    rollup({
      input: 'main.js',
      plugins: [
        nodeResolve(),
        commonjs(),
        bpmnlint({
          // matching .bpmnlintrc files per default
          include: '**/.bpmnlintrc',
     
          // undefined per default
          exclude: [ ]
        })
      ]
    });

    License

    MIT

    Install

    npm i rollup-plugin-bpmnlint

    DownloadsWeekly Downloads

    201

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    4.56 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar