@camunda/linting 0.12.0 → 0.13.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.
|
@@ -216,6 +216,10 @@ export function getErrorMessage(id, report) {
|
|
|
216
216
|
return;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
if (data.type === ERROR_TYPES.EXPRESSION_NOT_ALLOWED) {
|
|
220
|
+
return 'Cannot be an expression.';
|
|
221
|
+
}
|
|
222
|
+
|
|
219
223
|
if (id === 'isExecutable') {
|
|
220
224
|
const { parentNode } = data;
|
|
221
225
|
|
|
@@ -250,7 +254,7 @@ export function getErrorMessage(id, report) {
|
|
|
250
254
|
return 'Result variable must be defined.';
|
|
251
255
|
}
|
|
252
256
|
|
|
253
|
-
if (id === 'errorCode') {
|
|
257
|
+
if (id === 'errorCode' && data.type === ERROR_TYPES.PROPERTY_REQUIRED) {
|
|
254
258
|
return 'Code must be defined.';
|
|
255
259
|
}
|
|
256
260
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/linting",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Linting for Camunda Platform",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"bpmn-moddle": "^7.1.3",
|
|
29
29
|
"bpmnlint": "^8.0.0",
|
|
30
|
-
"bpmnlint-plugin-camunda-compat": "^0.
|
|
30
|
+
"bpmnlint-plugin-camunda-compat": "^0.18.0",
|
|
31
31
|
"bpmnlint-utils": "^1.0.2",
|
|
32
32
|
"min-dash": "^4.0.0",
|
|
33
33
|
"min-dom": "^4.0.1",
|
|
34
34
|
"zeebe-bpmn-moddle": "^0.17.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"bpmn-js": "^
|
|
38
|
-
"bpmn-js-properties-panel": "^1.
|
|
37
|
+
"bpmn-js": "^11.1.1",
|
|
38
|
+
"bpmn-js-properties-panel": "^1.15.0",
|
|
39
39
|
"chai": "^4.3.6",
|
|
40
40
|
"cross-env": "^7.0.3",
|
|
41
41
|
"eslint": "^8.23.1",
|