@camunda/linting 2.1.0 → 3.0.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
CHANGED
|
@@ -60,7 +60,9 @@ export class Linter {
|
|
|
60
60
|
|
|
61
61
|
const reportsByRule = await linter.lint(rootElement);
|
|
62
62
|
|
|
63
|
-
return Object.
|
|
63
|
+
return Object.entries(reportsByRule).reduce((allReports, entry) => {
|
|
64
|
+
const [ rule, reports ] = entry;
|
|
65
|
+
|
|
64
66
|
return [
|
|
65
67
|
...allReports,
|
|
66
68
|
...reports.map(report => {
|
|
@@ -76,7 +78,8 @@ export class Linter {
|
|
|
76
78
|
),
|
|
77
79
|
propertiesPanel: {
|
|
78
80
|
entryId: entryIds[ Math.max(0, entryIds.length - 1) ]
|
|
79
|
-
}
|
|
81
|
+
},
|
|
82
|
+
rule
|
|
80
83
|
};
|
|
81
84
|
})
|
|
82
85
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/linting",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Linting for Camunda Platform",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"bpmn-moddle": "^8.0.0",
|
|
31
|
-
"bpmnlint": "^
|
|
31
|
+
"bpmnlint": "^9.0.0",
|
|
32
32
|
"bpmnlint-plugin-camunda-compat": "^1.4.0",
|
|
33
33
|
"bpmnlint-utils": "^1.0.2",
|
|
34
34
|
"min-dash": "^4.0.0",
|