From 84f80832d4e6ba0c983c049b5ea3f1be19985286 Mon Sep 17 00:00:00 2001 From: David Callizaya Date: Mon, 31 Jan 2022 12:02:50 -0400 Subject: [PATCH] Tags that does not require ID --- rules/id-required.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rules/id-required.js b/rules/id-required.js index 8d8c0bc..7c835b1 100644 --- a/rules/id-required.js +++ b/rules/id-required.js @@ -24,6 +24,9 @@ module.exports = function() { 'bpmn:TimeDuration', 'bpmn:TimerEventDefinition', 'bpmn:Documentation', + 'bpmn:InputOutputSpecification', + 'bpmn:InputSet', + 'bpmn:OutputSet', ]); } @@ -35,7 +38,7 @@ module.exports = function() { const nodeId = (node.id || '').trim(); if (nodeId.length === 0) { - reporter.report(null, 'Element is missing ID'); + reporter.report(null, 'Element is missing ID ' + node.$type); return; } }