JSPM

rollup-plugin-dmnlint

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q44983F
  • License MIT

Convert dmnlint config files to consumable modules

Package Exports

  • rollup-plugin-dmnlint
  • rollup-plugin-dmnlint/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rollup-plugin-dmnlint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rollup-plugin-dmnlint

Build Status

Convert dmnlint config files to consumable modules.

import { Linter } from 'dmnlint';

import linterConfig from './.dmnlintrc';

const linter = new Linter(linterConfig);

Installation

npm i rollup-plugin-dmnlint -D

Usage

import { rollup } from 'rollup';

import dmnlint from 'rollup-plugin-dmnlint';

import nodeResolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';

rollup({
  input: 'main.js',
  plugins: [
    nodeResolve(),
    commonjs(),
    dmnlint({
      // matching .dmnlintrc files per default
      include: '**/.dmnlintrc',

      // undefined per default
      exclude: [ ]
    })
  ]
});

Credits

The project is based on rollup-plugin-bpmnlint built by nikku.

License

MIT