Changed functions to arrow functions for only-arrow-functions rule.

This commit is contained in:
Patrick O'Carroll
2018-09-04 14:27:03 +02:00
parent 5c0fbbf7c8
commit 19b7ad61dd
50 changed files with 289 additions and 288 deletions

View File

@@ -27,7 +27,7 @@ class PrometheusQueryCtrl extends QueryCtrl {
target.format = target.format || this.getDefaultFormat();
this.metric = '';
this.resolutions = _.map([1, 2, 3, 4, 5, 10], function(f) {
this.resolutions = _.map([1, 2, 3, 4, 5, 10], f => {
return { factor: f, label: '1/' + f };
});