Skip to content

Commit e7f6677

Browse files
MB-47751: set eslint array-callback-return to error
Change-Id: If5dc72c24ea985202dc2cd72b9e1dd37165b76ed Reviewed-on: http://review.couchbase.org/c/ns_server/+/159866 Well-Formed: Build Bot <[email protected]> Tested-by: Pavel Blagodov <[email protected]> Reviewed-by: Raluca Lupu <[email protected]>
1 parent 343a670 commit e7f6677

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

priv/public/ui/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"accessor-pairs": "error",
1414
"array-bracket-newline": ["error", "consistent"],
1515
"array-bracket-spacing": ["error", "never"],
16-
"array-callback-return": "off",
16+
"array-callback-return": "error",
1717
"array-element-newline": "off",
1818
"arrow-body-style": "off",
1919
"arrow-parens": "off",

priv/public/ui/app/mn_admin/mn_settings_notifications_service.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ angular.module('mnSettingsNotificationsService', [
133133
if ((levels.length == 4) && (levels[3] == "svc")) {
134134
return levels[0].startsWith(levels[1] + "-");
135135
}
136+
return false;
136137
}),
137138
numNodes: poolsDefault.nodes.length, //Total number of nodes
138139
isEnterpriseEdition: pools.isEnterprise,

priv/public/ui/app/mn_admin/mn_statistics_controller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ function mnStatisticsNewController($scope, mnStatisticsNewService, $state, $http
425425
block.statKeyPrefix = name.join("/") + "/";
426426
return true;
427427
}
428+
return false;
428429
});
429430
});
430431
})

0 commit comments

Comments
 (0)