@camunda/linting 3.45.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Linter.js +1 -1
- package/lib/compiled-config.js +125 -110
- package/lib/utils/properties-panel.js +25 -1
- package/package.json +12 -12
package/lib/Linter.js
CHANGED
package/lib/compiled-config.js
CHANGED
|
@@ -33,6 +33,7 @@ const rules = {
|
|
|
33
33
|
"camunda-compat/element-type": "error",
|
|
34
34
|
"camunda-compat/called-element": "error",
|
|
35
35
|
"camunda-compat/collapsed-subprocess": "error",
|
|
36
|
+
"camunda-compat/conditional-event": "error",
|
|
36
37
|
"camunda-compat/connector-properties": "warn",
|
|
37
38
|
"camunda-compat/duplicate-execution-listeners": "error",
|
|
38
39
|
"camunda-compat/duplicate-task-headers": "error",
|
|
@@ -78,10 +79,12 @@ const rules = {
|
|
|
78
79
|
"camunda-compat/timer": "error",
|
|
79
80
|
"camunda-compat/user-task-definition": "warn",
|
|
80
81
|
"camunda-compat/user-task-form": "error",
|
|
82
|
+
"camunda-compat/variable-name": "error",
|
|
81
83
|
"camunda-compat/version-tag": "error",
|
|
82
84
|
"camunda-compat/wait-for-completion": "error",
|
|
83
85
|
"start-event-required": "error",
|
|
84
86
|
"ad-hoc-sub-process": "error",
|
|
87
|
+
"conditional-event": "error",
|
|
85
88
|
"event-based-gateway": "error",
|
|
86
89
|
"event-sub-process-typed-start-event": "error",
|
|
87
90
|
"link-event": "error",
|
|
@@ -119,222 +122,234 @@ import rule_3 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/collapsed
|
|
|
119
122
|
|
|
120
123
|
cache['bpmnlint-plugin-camunda-compat/collapsed-subprocess'] = rule_3;
|
|
121
124
|
|
|
122
|
-
import rule_4 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
125
|
+
import rule_4 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/conditional-event';
|
|
123
126
|
|
|
124
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
127
|
+
cache['bpmnlint-plugin-camunda-compat/conditional-event'] = rule_4;
|
|
125
128
|
|
|
126
|
-
import rule_5 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
129
|
+
import rule_5 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/connector-properties';
|
|
127
130
|
|
|
128
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
131
|
+
cache['bpmnlint-plugin-camunda-compat/connector-properties'] = rule_5;
|
|
129
132
|
|
|
130
|
-
import rule_6 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/duplicate-
|
|
133
|
+
import rule_6 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/duplicate-execution-listeners';
|
|
131
134
|
|
|
132
|
-
cache['bpmnlint-plugin-camunda-compat/duplicate-
|
|
135
|
+
cache['bpmnlint-plugin-camunda-compat/duplicate-execution-listeners'] = rule_6;
|
|
133
136
|
|
|
134
|
-
import rule_7 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
137
|
+
import rule_7 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/duplicate-task-headers';
|
|
135
138
|
|
|
136
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
139
|
+
cache['bpmnlint-plugin-camunda-compat/duplicate-task-headers'] = rule_7;
|
|
137
140
|
|
|
138
|
-
import rule_8 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
141
|
+
import rule_8 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/error-reference';
|
|
139
142
|
|
|
140
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
143
|
+
cache['bpmnlint-plugin-camunda-compat/error-reference'] = rule_8;
|
|
141
144
|
|
|
142
|
-
import rule_9 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/escalation-
|
|
145
|
+
import rule_9 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/escalation-boundary-event-attached-to-ref';
|
|
143
146
|
|
|
144
|
-
cache['bpmnlint-plugin-camunda-compat/escalation-
|
|
147
|
+
cache['bpmnlint-plugin-camunda-compat/escalation-boundary-event-attached-to-ref'] = rule_9;
|
|
145
148
|
|
|
146
|
-
import rule_10 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
149
|
+
import rule_10 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/escalation-reference';
|
|
147
150
|
|
|
148
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
151
|
+
cache['bpmnlint-plugin-camunda-compat/escalation-reference'] = rule_10;
|
|
149
152
|
|
|
150
|
-
import rule_11 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
153
|
+
import rule_11 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/event-based-gateway-target';
|
|
151
154
|
|
|
152
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
155
|
+
cache['bpmnlint-plugin-camunda-compat/event-based-gateway-target'] = rule_11;
|
|
153
156
|
|
|
154
|
-
import rule_12 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
157
|
+
import rule_12 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/executable-process';
|
|
155
158
|
|
|
156
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
159
|
+
cache['bpmnlint-plugin-camunda-compat/executable-process'] = rule_12;
|
|
157
160
|
|
|
158
|
-
import rule_13 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
161
|
+
import rule_13 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/execution-listener';
|
|
159
162
|
|
|
160
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
163
|
+
cache['bpmnlint-plugin-camunda-compat/execution-listener'] = rule_13;
|
|
161
164
|
|
|
162
|
-
import rule_14 from 'bpmnlint-plugin-camunda-compat/rules/camunda-
|
|
165
|
+
import rule_14 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/feel';
|
|
163
166
|
|
|
164
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
167
|
+
cache['bpmnlint-plugin-camunda-compat/feel'] = rule_14;
|
|
165
168
|
|
|
166
|
-
import rule_15 from 'bpmnlint-plugin-camunda-compat/rules/camunda-
|
|
169
|
+
import rule_15 from 'bpmnlint-plugin-camunda-compat/rules/camunda-platform/history-time-to-live';
|
|
167
170
|
|
|
168
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
171
|
+
cache['bpmnlint-plugin-camunda-compat/history-time-to-live'] = rule_15;
|
|
169
172
|
|
|
170
|
-
import rule_16 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
173
|
+
import rule_16 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/implementation';
|
|
171
174
|
|
|
172
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
175
|
+
cache['bpmnlint-plugin-camunda-compat/implementation'] = rule_16;
|
|
173
176
|
|
|
174
|
-
import rule_17 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
177
|
+
import rule_17 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/inclusive-gateway';
|
|
175
178
|
|
|
176
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
179
|
+
cache['bpmnlint-plugin-camunda-compat/inclusive-gateway'] = rule_17;
|
|
177
180
|
|
|
178
|
-
import rule_18 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
181
|
+
import rule_18 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/link-event';
|
|
179
182
|
|
|
180
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
183
|
+
cache['bpmnlint-plugin-camunda-compat/link-event'] = rule_18;
|
|
181
184
|
|
|
182
|
-
import rule_19 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
185
|
+
import rule_19 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/loop-characteristics';
|
|
183
186
|
|
|
184
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
187
|
+
cache['bpmnlint-plugin-camunda-compat/loop-characteristics'] = rule_19;
|
|
185
188
|
|
|
186
|
-
import rule_20 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
189
|
+
import rule_20 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/io-mapping';
|
|
187
190
|
|
|
188
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
191
|
+
cache['bpmnlint-plugin-camunda-compat/io-mapping'] = rule_20;
|
|
189
192
|
|
|
190
|
-
import rule_21 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
193
|
+
import rule_21 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/message-reference';
|
|
191
194
|
|
|
192
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
195
|
+
cache['bpmnlint-plugin-camunda-compat/message-reference'] = rule_21;
|
|
193
196
|
|
|
194
|
-
import rule_22 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
197
|
+
import rule_22 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-binding-type';
|
|
195
198
|
|
|
196
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
199
|
+
cache['bpmnlint-plugin-camunda-compat/no-binding-type'] = rule_22;
|
|
197
200
|
|
|
198
|
-
import rule_23 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
201
|
+
import rule_23 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-candidate-users';
|
|
199
202
|
|
|
200
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
203
|
+
cache['bpmnlint-plugin-camunda-compat/no-candidate-users'] = rule_23;
|
|
201
204
|
|
|
202
|
-
import rule_24 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
205
|
+
import rule_24 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-execution-listeners';
|
|
203
206
|
|
|
204
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
207
|
+
cache['bpmnlint-plugin-camunda-compat/no-execution-listeners'] = rule_24;
|
|
205
208
|
|
|
206
|
-
import rule_25 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
209
|
+
import rule_25 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-expression';
|
|
207
210
|
|
|
208
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
211
|
+
cache['bpmnlint-plugin-camunda-compat/no-expression'] = rule_25;
|
|
209
212
|
|
|
210
|
-
import rule_26 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
213
|
+
import rule_26 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-interrupting-event-subprocess';
|
|
211
214
|
|
|
212
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
215
|
+
cache['bpmnlint-plugin-camunda-compat/no-interrupting-event-subprocess'] = rule_26;
|
|
213
216
|
|
|
214
|
-
import rule_27 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
217
|
+
import rule_27 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-loop';
|
|
215
218
|
|
|
216
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
219
|
+
cache['bpmnlint-plugin-camunda-compat/no-loop'] = rule_27;
|
|
217
220
|
|
|
218
|
-
import rule_28 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
221
|
+
import rule_28 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-multiple-none-start-events';
|
|
219
222
|
|
|
220
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
223
|
+
cache['bpmnlint-plugin-camunda-compat/no-multiple-none-start-events'] = rule_28;
|
|
221
224
|
|
|
222
|
-
import rule_29 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
225
|
+
import rule_29 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-priority-definition';
|
|
223
226
|
|
|
224
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
227
|
+
cache['bpmnlint-plugin-camunda-compat/no-priority-definition'] = rule_29;
|
|
225
228
|
|
|
226
|
-
import rule_30 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
229
|
+
import rule_30 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-propagate-all-parent-variables';
|
|
227
230
|
|
|
228
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
231
|
+
cache['bpmnlint-plugin-camunda-compat/no-propagate-all-parent-variables'] = rule_30;
|
|
229
232
|
|
|
230
|
-
import rule_31 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
233
|
+
import rule_31 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-signal-event-sub-process';
|
|
231
234
|
|
|
232
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
235
|
+
cache['bpmnlint-plugin-camunda-compat/no-signal-event-sub-process'] = rule_31;
|
|
233
236
|
|
|
234
|
-
import rule_32 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-task-
|
|
237
|
+
import rule_32 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-task-schedule';
|
|
235
238
|
|
|
236
|
-
cache['bpmnlint-plugin-camunda-compat/no-task-
|
|
239
|
+
cache['bpmnlint-plugin-camunda-compat/no-task-schedule'] = rule_32;
|
|
237
240
|
|
|
238
|
-
import rule_33 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
241
|
+
import rule_33 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-task-listeners';
|
|
239
242
|
|
|
240
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
243
|
+
cache['bpmnlint-plugin-camunda-compat/no-task-listeners'] = rule_33;
|
|
241
244
|
|
|
242
|
-
import rule_34 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
245
|
+
import rule_34 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-template';
|
|
243
246
|
|
|
244
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
247
|
+
cache['bpmnlint-plugin-camunda-compat/no-template'] = rule_34;
|
|
245
248
|
|
|
246
|
-
import rule_35 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-
|
|
249
|
+
import rule_35 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-version-tag';
|
|
247
250
|
|
|
248
|
-
cache['bpmnlint-plugin-camunda-compat/no-
|
|
251
|
+
cache['bpmnlint-plugin-camunda-compat/no-version-tag'] = rule_35;
|
|
249
252
|
|
|
250
|
-
import rule_36 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-zeebe-
|
|
253
|
+
import rule_36 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-zeebe-properties';
|
|
251
254
|
|
|
252
|
-
cache['bpmnlint-plugin-camunda-compat/no-zeebe-
|
|
255
|
+
cache['bpmnlint-plugin-camunda-compat/no-zeebe-properties'] = rule_36;
|
|
253
256
|
|
|
254
|
-
import rule_37 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
257
|
+
import rule_37 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/no-zeebe-user-task';
|
|
255
258
|
|
|
256
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
259
|
+
cache['bpmnlint-plugin-camunda-compat/no-zeebe-user-task'] = rule_37;
|
|
257
260
|
|
|
258
|
-
import rule_38 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
261
|
+
import rule_38 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/priority-definition';
|
|
259
262
|
|
|
260
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
263
|
+
cache['bpmnlint-plugin-camunda-compat/priority-definition'] = rule_38;
|
|
261
264
|
|
|
262
|
-
import rule_39 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
265
|
+
import rule_39 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/zeebe-user-task';
|
|
263
266
|
|
|
264
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
267
|
+
cache['bpmnlint-plugin-camunda-compat/zeebe-user-task'] = rule_39;
|
|
265
268
|
|
|
266
|
-
import rule_40 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
269
|
+
import rule_40 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/secrets';
|
|
267
270
|
|
|
268
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
271
|
+
cache['bpmnlint-plugin-camunda-compat/secrets'] = rule_40;
|
|
269
272
|
|
|
270
|
-
import rule_41 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
273
|
+
import rule_41 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/sequence-flow-condition';
|
|
271
274
|
|
|
272
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
275
|
+
cache['bpmnlint-plugin-camunda-compat/sequence-flow-condition'] = rule_41;
|
|
273
276
|
|
|
274
|
-
import rule_42 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
277
|
+
import rule_42 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/signal-reference';
|
|
275
278
|
|
|
276
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
279
|
+
cache['bpmnlint-plugin-camunda-compat/signal-reference'] = rule_42;
|
|
277
280
|
|
|
278
|
-
import rule_43 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
281
|
+
import rule_43 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/start-event-form';
|
|
279
282
|
|
|
280
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
283
|
+
cache['bpmnlint-plugin-camunda-compat/start-event-form'] = rule_43;
|
|
281
284
|
|
|
282
|
-
import rule_44 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
285
|
+
import rule_44 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/subscription';
|
|
283
286
|
|
|
284
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
287
|
+
cache['bpmnlint-plugin-camunda-compat/subscription'] = rule_44;
|
|
285
288
|
|
|
286
|
-
import rule_45 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/task-
|
|
289
|
+
import rule_45 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/task-listener';
|
|
287
290
|
|
|
288
|
-
cache['bpmnlint-plugin-camunda-compat/task-
|
|
291
|
+
cache['bpmnlint-plugin-camunda-compat/task-listener'] = rule_45;
|
|
289
292
|
|
|
290
|
-
import rule_46 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
293
|
+
import rule_46 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/task-schedule';
|
|
291
294
|
|
|
292
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
295
|
+
cache['bpmnlint-plugin-camunda-compat/task-schedule'] = rule_46;
|
|
293
296
|
|
|
294
|
-
import rule_47 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
297
|
+
import rule_47 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/timer';
|
|
295
298
|
|
|
296
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
299
|
+
cache['bpmnlint-plugin-camunda-compat/timer'] = rule_47;
|
|
297
300
|
|
|
298
|
-
import rule_48 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/user-task-
|
|
301
|
+
import rule_48 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/user-task-definition';
|
|
299
302
|
|
|
300
|
-
cache['bpmnlint-plugin-camunda-compat/user-task-
|
|
303
|
+
cache['bpmnlint-plugin-camunda-compat/user-task-definition'] = rule_48;
|
|
301
304
|
|
|
302
|
-
import rule_49 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
305
|
+
import rule_49 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/user-task-form';
|
|
303
306
|
|
|
304
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
307
|
+
cache['bpmnlint-plugin-camunda-compat/user-task-form'] = rule_49;
|
|
305
308
|
|
|
306
|
-
import rule_50 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/
|
|
309
|
+
import rule_50 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/variable-name';
|
|
307
310
|
|
|
308
|
-
cache['bpmnlint-plugin-camunda-compat/
|
|
311
|
+
cache['bpmnlint-plugin-camunda-compat/variable-name'] = rule_50;
|
|
309
312
|
|
|
310
|
-
import rule_51 from 'bpmnlint/rules/
|
|
313
|
+
import rule_51 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/version-tag';
|
|
311
314
|
|
|
312
|
-
cache['bpmnlint/
|
|
315
|
+
cache['bpmnlint-plugin-camunda-compat/version-tag'] = rule_51;
|
|
313
316
|
|
|
314
|
-
import rule_52 from 'bpmnlint/rules/
|
|
317
|
+
import rule_52 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/wait-for-completion';
|
|
315
318
|
|
|
316
|
-
cache['bpmnlint/
|
|
319
|
+
cache['bpmnlint-plugin-camunda-compat/wait-for-completion'] = rule_52;
|
|
317
320
|
|
|
318
|
-
import rule_53 from 'bpmnlint/rules/event-
|
|
321
|
+
import rule_53 from 'bpmnlint/rules/start-event-required';
|
|
319
322
|
|
|
320
|
-
cache['bpmnlint/event-
|
|
323
|
+
cache['bpmnlint/start-event-required'] = rule_53;
|
|
321
324
|
|
|
322
|
-
import rule_54 from 'bpmnlint/rules/
|
|
325
|
+
import rule_54 from 'bpmnlint/rules/ad-hoc-sub-process';
|
|
323
326
|
|
|
324
|
-
cache['bpmnlint/
|
|
327
|
+
cache['bpmnlint/ad-hoc-sub-process'] = rule_54;
|
|
325
328
|
|
|
326
|
-
import rule_55 from 'bpmnlint/rules/
|
|
329
|
+
import rule_55 from 'bpmnlint/rules/conditional-event';
|
|
327
330
|
|
|
328
|
-
cache['bpmnlint/
|
|
331
|
+
cache['bpmnlint/conditional-event'] = rule_55;
|
|
329
332
|
|
|
330
|
-
import rule_56 from 'bpmnlint/rules/
|
|
333
|
+
import rule_56 from 'bpmnlint/rules/event-based-gateway';
|
|
331
334
|
|
|
332
|
-
cache['bpmnlint/
|
|
335
|
+
cache['bpmnlint/event-based-gateway'] = rule_56;
|
|
333
336
|
|
|
334
|
-
import rule_57 from 'bpmnlint/rules/sub-process-
|
|
337
|
+
import rule_57 from 'bpmnlint/rules/event-sub-process-typed-start-event';
|
|
335
338
|
|
|
336
|
-
cache['bpmnlint/sub-process-
|
|
339
|
+
cache['bpmnlint/event-sub-process-typed-start-event'] = rule_57;
|
|
337
340
|
|
|
338
|
-
import rule_58 from 'bpmnlint/rules/
|
|
341
|
+
import rule_58 from 'bpmnlint/rules/link-event';
|
|
339
342
|
|
|
340
|
-
cache['bpmnlint/
|
|
343
|
+
cache['bpmnlint/link-event'] = rule_58;
|
|
344
|
+
|
|
345
|
+
import rule_59 from 'bpmnlint/rules/no-duplicate-sequence-flows';
|
|
346
|
+
|
|
347
|
+
cache['bpmnlint/no-duplicate-sequence-flows'] = rule_59;
|
|
348
|
+
|
|
349
|
+
import rule_60 from 'bpmnlint/rules/sub-process-blank-start-event';
|
|
350
|
+
|
|
351
|
+
cache['bpmnlint/sub-process-blank-start-event'] = rule_60;
|
|
352
|
+
|
|
353
|
+
import rule_61 from 'bpmnlint/rules/single-blank-start-event';
|
|
354
|
+
|
|
355
|
+
cache['bpmnlint/single-blank-start-event'] = rule_61;
|
|
@@ -380,13 +380,29 @@ export function getEntryIds(report) {
|
|
|
380
380
|
return [ 'adHocOutputElement' ];
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
+
if (isPropertyError(data, 'variableNames', 'bpmn:ConditionalEventDefinition')) {
|
|
384
|
+
return [ 'variableNames' ];
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
// Fallback for bpmnlint rules that use path without data
|
|
388
|
+
// (e.g., bpmnlint/conditional-event)
|
|
389
|
+
if (path && path.length && !data.type) {
|
|
390
|
+
|
|
391
|
+
const property = path[path.length - 1];
|
|
392
|
+
|
|
393
|
+
if (property === 'condition') {
|
|
394
|
+
return [ 'condition' ];
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
383
398
|
return [];
|
|
384
399
|
}
|
|
385
400
|
|
|
386
401
|
export function getErrorMessage(id, report) {
|
|
387
402
|
const {
|
|
388
403
|
data = {},
|
|
389
|
-
executionPlatformVersion
|
|
404
|
+
executionPlatformVersion,
|
|
405
|
+
message
|
|
390
406
|
} = report;
|
|
391
407
|
|
|
392
408
|
const {
|
|
@@ -663,6 +679,14 @@ export function getErrorMessage(id, report) {
|
|
|
663
679
|
if (isPropertyError(data, 'outputElement', 'zeebe:AdHoc') && type === ERROR_TYPES.PROPERTY_NOT_ALLOWED) {
|
|
664
680
|
return getNotSupportedMessage('Output element', allowedVersion);
|
|
665
681
|
}
|
|
682
|
+
|
|
683
|
+
if (id === 'condition') {
|
|
684
|
+
return 'Condition expression must be defined.';
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
if (id === 'variableNames') {
|
|
688
|
+
return message ?? 'Invalid variables list.';
|
|
689
|
+
}
|
|
666
690
|
}
|
|
667
691
|
|
|
668
692
|
function isExtensionElementNotAllowedError(data, extensionElement, type) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/linting",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.47.0",
|
|
4
4
|
"description": "Linting for Camunda",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -30,29 +30,29 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@bpmn-io/diagram-js-ui": "^0.2.3",
|
|
33
|
-
"bpmn-moddle": "^
|
|
34
|
-
"bpmnlint": "^11.
|
|
35
|
-
"bpmnlint-plugin-camunda-compat": "^2.
|
|
33
|
+
"bpmn-moddle": "^10.0.0",
|
|
34
|
+
"bpmnlint": "^11.10.0",
|
|
35
|
+
"bpmnlint-plugin-camunda-compat": "^2.47.0",
|
|
36
36
|
"bpmnlint-utils": "^1.0.2",
|
|
37
37
|
"camunda-bpmn-moddle": "^7.0.1",
|
|
38
38
|
"clsx": "^2.0.0",
|
|
39
|
-
"min-dash": "^
|
|
40
|
-
"min-dom": "^5.
|
|
39
|
+
"min-dash": "^5.0.0",
|
|
40
|
+
"min-dom": "^5.2.0",
|
|
41
41
|
"modeler-moddle": "^0.2.0",
|
|
42
42
|
"semver-compare": "^1.0.0",
|
|
43
|
-
"zeebe-bpmn-moddle": "^1.
|
|
43
|
+
"zeebe-bpmn-moddle": "^1.12.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"bpmn-js": "^18.
|
|
47
|
-
"bpmn-js-element-templates": "^2.
|
|
48
|
-
"bpmn-js-properties-panel": "^5.
|
|
49
|
-
"camunda-bpmn-js-behaviors": "^1.
|
|
46
|
+
"bpmn-js": "^18.11.0",
|
|
47
|
+
"bpmn-js-element-templates": "^2.19.0",
|
|
48
|
+
"bpmn-js-properties-panel": "^5.50.1",
|
|
49
|
+
"camunda-bpmn-js-behaviors": "^1.14.0",
|
|
50
50
|
"chai": "^4.5.0",
|
|
51
51
|
"cross-env": "^7.0.3",
|
|
52
52
|
"eslint": "^8.57.1",
|
|
53
53
|
"eslint-plugin-bpmn-io": "^1.0.1",
|
|
54
54
|
"karma": "^6.4.4",
|
|
55
|
-
"karma-chrome-launcher": "^3.
|
|
55
|
+
"karma-chrome-launcher-2": "^3.3.0",
|
|
56
56
|
"karma-debug-launcher": "0.0.5",
|
|
57
57
|
"karma-env-preprocessor": "^0.1.1",
|
|
58
58
|
"karma-mocha": "^2.0.1",
|