style(eslint): enforcing newline on chained calls

This commit is contained in:
Julian Lam
2018-11-08 11:36:00 -05:00
parent c58a41ed72
commit 95cc27f1ff
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,8 @@ function simplify(translations) {
function nsToTitle(namespace) {
return namespace.replace('admin/', '').split('/').map(function (str) {
return str[0].toUpperCase() + str.slice(1);
}).join(' > ').replace(/[^a-zA-Z> ]/g, ' ');
}).join(' > ')
.replace(/[^a-zA-Z> ]/g, ' ');
}
var fallbackCacheInProgress = {};