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
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 -DUsage
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