@abaplint/cli 2.101.21 → 2.101.22
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/cli.js +11 -1
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -48453,7 +48453,7 @@ class Registry {
|
|
|
48453
48453
|
}
|
|
48454
48454
|
static abaplintVersion() {
|
|
48455
48455
|
// magic, see build script "version.sh"
|
|
48456
|
-
return "2.101.
|
|
48456
|
+
return "2.101.22";
|
|
48457
48457
|
}
|
|
48458
48458
|
getDDICReferences() {
|
|
48459
48459
|
return this.ddicReferences;
|
|
@@ -49721,6 +49721,10 @@ class AvoidUseConf extends _basic_rule_config_1.BasicRuleConfig {
|
|
|
49721
49721
|
this.testSeams = true;
|
|
49722
49722
|
/** Detects DESCRIBE TABLE LINES, use lines() instead */
|
|
49723
49723
|
this.describeLines = true;
|
|
49724
|
+
/** Detects EXPORT TO MEMORY */
|
|
49725
|
+
this.exportToMemory = true;
|
|
49726
|
+
/** Detects EXPORT TO DATABASE */
|
|
49727
|
+
this.exportToDatabase = true;
|
|
49724
49728
|
}
|
|
49725
49729
|
}
|
|
49726
49730
|
exports.AvoidUseConf = AvoidUseConf;
|
|
@@ -49780,6 +49784,12 @@ TEST-SEAMS: https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md
|
|
|
49780
49784
|
else if (this.conf.statics && statement instanceof Statements.StaticEnd) {
|
|
49781
49785
|
isStaticsBlock = false;
|
|
49782
49786
|
}
|
|
49787
|
+
else if (this.conf.exportToMemory && statement instanceof Statements.Export && statementNode.concatTokens().includes("TO MEMORY ")) {
|
|
49788
|
+
message = "EXPORT TO MEMORY";
|
|
49789
|
+
}
|
|
49790
|
+
else if (this.conf.exportToDatabase && statement instanceof Statements.Export && statementNode.concatTokens().includes("TO DATABASE ")) {
|
|
49791
|
+
message = "EXPORT TO DATABASE";
|
|
49792
|
+
}
|
|
49783
49793
|
else if (this.conf.testSeams && statement instanceof Statements.TestSeam) {
|
|
49784
49794
|
message = "TEST-SEAM";
|
|
49785
49795
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.101.
|
|
3
|
+
"version": "2.101.22",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.101.
|
|
41
|
+
"@abaplint/core": "^2.101.22",
|
|
42
42
|
"@types/chai": "^4.3.5",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.2",
|