@bpmn-io/lint-core
v0.1.1
Published
Shared implementation of bpmnlint and dmnlint. Internal: depend on bpmnlint or dmnlint instead.
Readme
@bpmn-io/lint-core
Shared implementation of bpmnlint and dmnlint.
This package is an implementation detail. It has no stable API and may change in any release. Depend on
bpmnlintordmnlintinstead.
How it works
Every module is a factory that is bound to a product:
const { createLinter } = require('@bpmn-io/lint-core');
const product = {
name: 'bpmnlint',
// optional, defaults to `${ name }-plugin-`
pluginPrefix: 'bpmnlint-plugin-'
};
const Linter = createLinter(product);The product determines
- the package that rules and configurations are loaded from by default (
name) - how plugins are named (
pluginPrefix)
License
MIT
