jhprjv2/ruoyi-ui/bpmnlint-plugin-local
姜玉琦 f8741e0761 提交代码 2023-08-10 21:10:10 +08:00
..
docs/rules 提交代码 2023-08-10 21:10:10 +08:00
rules 提交代码 2023-08-10 21:10:10 +08:00
.gitignore 提交代码 2023-08-10 21:10:10 +08:00
README.md 提交代码 2023-08-10 21:10:10 +08:00
index.js 提交代码 2023-08-10 21:10:10 +08:00
package.json 提交代码 2023-08-10 21:10:10 +08:00
test.js 提交代码 2023-08-10 21:10:10 +08:00

README.md

bpmnlint-plugin-local

A bpmlint plug-in based on the bpmnlint plug-in example.

About

This plugin contributes rules and configuration under the local prefix to bpmnlint.

Add Rules

The ./rules folder contains rules that are made available via this plug-in. Configure them with the local prefix in your .bpmnlintrc:

{
  "rules": {
    "local/no-manual-task": "warn"
  }
}

Checkout ./test.js to learn how to test your rules.

Add Configuration

As part of the ./index.js the plug-in exposes configurations to extend from using extends in the bpmnlint configuration:

{
  "extends": [
    "bpmnlint:recommended",
    "plugin:local/recommended"
  ]
}