@abaplint/core 2.108.0 → 2.108.1
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/build/src/registry.js
CHANGED
|
@@ -47,14 +47,14 @@ class AlignPseudoComments extends _abap_rule_1.ABAPRule {
|
|
|
47
47
|
continue;
|
|
48
48
|
}
|
|
49
49
|
else if (commentLength > 10) {
|
|
50
|
-
const expectedColumn = 72 - commentLength
|
|
50
|
+
const expectedColumn = 72 - commentLength;
|
|
51
51
|
if (previousEnd.getCol() < expectedColumn && firstCommentToken.getStart().getCol() !== expectedColumn) {
|
|
52
52
|
const message = "Align pseudo comment to column " + expectedColumn;
|
|
53
53
|
issues.push(issue_1.Issue.atStatement(file, statement, message, this.getMetadata().key, this.conf.severity));
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
else if (previousEnd.getCol() <
|
|
57
|
-
const message = "Align pseudo comment to column
|
|
56
|
+
else if (previousEnd.getCol() < 61 && firstCommentToken.getStart().getCol() !== 61) {
|
|
57
|
+
const message = "Align pseudo comment to column 61";
|
|
58
58
|
issues.push(issue_1.Issue.atStatement(file, statement, message, this.getMetadata().key, this.conf.severity));
|
|
59
59
|
}
|
|
60
60
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.108.
|
|
3
|
+
"version": "2.108.1",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@microsoft/api-extractor": "^7.43.2",
|
|
54
54
|
"@types/chai": "^4.3.16",
|
|
55
55
|
"@types/mocha": "^10.0.6",
|
|
56
|
-
"@types/node": "^20.12.
|
|
56
|
+
"@types/node": "^20.12.11",
|
|
57
57
|
"chai": "^4.4.1",
|
|
58
58
|
"eslint": "^8.57.0",
|
|
59
59
|
"mocha": "^10.4.0",
|