@abaplint/core 2.94.11 → 2.94.12

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.
@@ -63,7 +63,7 @@ class Registry {
63
63
  }
64
64
  static abaplintVersion() {
65
65
  // magic, see build script "version.sh"
66
- return "2.94.11";
66
+ return "2.94.12";
67
67
  }
68
68
  getDDICReferences() {
69
69
  return this.references;
@@ -15,8 +15,10 @@ class CyclicOOConf extends _basic_rule_config_1.BasicRuleConfig {
15
15
  * @uniqueItems true
16
16
  */
17
17
  this.skip = [];
18
- /** Skips shared memory enabled classes*/
18
+ /** Skips shared memory enabled classes */
19
19
  this.skipSharedMemory = true;
20
+ /** Skip testclass inclues */
21
+ this.skipTestclasses = true;
20
22
  }
21
23
  }
22
24
  exports.CyclicOOConf = CyclicOOConf;
@@ -131,6 +133,10 @@ Objects must be without syntax errors for this rule to take effect`,
131
133
  || r.resolved.getFilename() === _builtin_1.BuiltIn.filename) {
132
134
  continue;
133
135
  }
136
+ if (this.conf.skipTestclasses === true
137
+ && r.position.getFilename().includes(".testclasses.abap")) {
138
+ continue;
139
+ }
134
140
  if (r.referenceType === _reference_1.ReferenceType.ObjectOrientedReference
135
141
  && ((_a = r.extra) === null || _a === void 0 ? void 0 : _a.ooName)) {
136
142
  if (this.edges[from] === undefined) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.94.11",
3
+ "version": "2.94.12",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",