@camunda/linting 3.12.0 → 3.14.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.
|
@@ -327,6 +327,10 @@ function getExtensionElementRequiredErrorMessage(report) {
|
|
|
327
327
|
return `${ getIndefiniteArticle(typeString) } <${ typeString }> must have a defined <Implementation>`;
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
+
if (requiredExtensionElement === 'zeebe:FormDefinition') {
|
|
331
|
+
return `${ getIndefiniteArticle(typeString) } <${ typeString }> must have a defined <Form>`;
|
|
332
|
+
}
|
|
333
|
+
|
|
330
334
|
return message;
|
|
331
335
|
}
|
|
332
336
|
|
|
@@ -313,9 +313,9 @@ export function getErrorMessage(id, report) {
|
|
|
313
313
|
executionPlatformVersion
|
|
314
314
|
} = report;
|
|
315
315
|
|
|
316
|
-
//
|
|
316
|
+
// adjust FEEL message
|
|
317
317
|
if (data.type === ERROR_TYPES.FEEL_EXPRESSION_INVALID) {
|
|
318
|
-
return;
|
|
318
|
+
return 'Unparsable FEEL expression.';
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
if (data.type === ERROR_TYPES.EXPRESSION_NOT_ALLOWED) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/linting",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.0",
|
|
4
4
|
"description": "Linting for Camunda",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@bpmn-io/diagram-js-ui": "^0.2.2",
|
|
33
33
|
"bpmn-moddle": "^8.0.0",
|
|
34
34
|
"bpmnlint": "^9.2.0",
|
|
35
|
-
"bpmnlint-plugin-camunda-compat": "^2.
|
|
35
|
+
"bpmnlint-plugin-camunda-compat": "^2.15.0",
|
|
36
36
|
"bpmnlint-utils": "^1.0.2",
|
|
37
37
|
"camunda-bpmn-moddle": "^7.0.1",
|
|
38
38
|
"clsx": "^2.0.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"bpmn-js": "^13.2.2",
|
|
47
47
|
"bpmn-js-element-templates": "^1.3.0",
|
|
48
|
-
"bpmn-js-properties-panel": "^5.
|
|
48
|
+
"bpmn-js-properties-panel": "^5.8.0",
|
|
49
49
|
"camunda-bpmn-js-behaviors": "^1.2.2",
|
|
50
50
|
"chai": "^4.3.7",
|
|
51
51
|
"cross-env": "^7.0.3",
|