Socket
Socket
Sign inDemoInstall

bpmnlint

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpmnlint

Linter for BPMN diagrams.


Version published
Weekly downloads
19K
increased by0.71%
Maintainers
1
Weekly downloads
 
Created
Source

bpmnlint

Linter for BPMN diagrams.

Installing

npm install -s bpmnlint

Or:

yarn add bpmnlint

Usage

As a command line tool

  • Make sure to have a .bpmnlintrc configuration file in the directory where you are running the tool:
// .bpmnlintrc  file

{
  "label-required": 1,
  "start-event-required": 2,
  "end-event-required": 2
}
  • Run the following command:
bpmnlint ./sample.bpmn
  • Output:

Configuration

The configuration file is a JSON object where the keys represent the rule names and their values provide information about these rules.

Consuming Rules

To consume built-in rules, it is enough to mention the rule name in the bpmnlint configuration file.

Available built-in rules: label-required, start-event-required, and end-event-required.

Adding Custom Rules

FAQs

Package last updated on 16 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc