Add eslint:recommended lint rule (#4577)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-01-07 08:38:21 -05:00
1 parent 4f75acf2b4
commit fa3708c879
27 files changed
+88 -57

No files matched your search

+2 -1
View File
@@ -184,7 +184,8 @@ export function getMetricLastPoints(metrics: Record<string, IMetrics>) {
if (metric.data.result.length) {
result[metricName] = +metric.data.result[0].values.slice(-1)[0][1];
}
} catch (e) {
} catch {
// ignore error
}
return result;