@definitelytyped/eslint-plugin 0.1.22 → 0.1.23
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/CHANGELOG.md +6 -0
- package/dist/rules/expect.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/rules/expect.js
CHANGED
|
@@ -183,7 +183,7 @@ function getProgram(dirPath, configFile, ts, versionName, lintProgram) {
|
|
|
183
183
|
}
|
|
184
184
|
const heapStats = node_v8_1.default.getHeapStatistics();
|
|
185
185
|
const heapUsage = heapStats.used_heap_size / heapStats.heap_size_limit;
|
|
186
|
-
if (heapUsage > 0.
|
|
186
|
+
if (heapUsage > 0.7) {
|
|
187
187
|
versionToProgram.clear();
|
|
188
188
|
}
|
|
189
189
|
return newProgram;
|