chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)

* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
This commit is contained in:
renovate[bot]
2018-11-07 15:53:14 -05:00
committed by Julian Lam
parent eb0a322d7f
commit 64b9dabff8
109 changed files with 287 additions and 309 deletions

View File

@@ -18,10 +18,10 @@ function filterDirectories(directories) {
// exclude partials
// only include subpaths
// exclude category.tpl, group.tpl, category-analytics.tpl
return !dir.endsWith('.js') &&
!dir.includes('/partials/') &&
/\/.*\//.test(dir) &&
!/manage\/(category|group|category-analytics)$/.test(dir);
return !dir.endsWith('.js')
&& !dir.includes('/partials/')
&& /\/.*\//.test(dir)
&& !/manage\/(category|group|category-analytics)$/.test(dir);
});
}
@@ -138,10 +138,10 @@ function initDict(language, callback) {
title = '[[admin/menu:general/dashboard]]';
} else {
title = title.match(/admin\/(.+?)\/(.+?)$/);
title = '[[admin/menu:section-' +
(title[1] === 'development' ? 'advanced' : title[1]) +
']]' + (title[2] ? (' > [[admin/menu:' +
title[1] + '/' + title[2] + ']]') : '');
title = '[[admin/menu:section-'
+ (title[1] === 'development' ? 'advanced' : title[1])
+ ']]' + (title[2] ? (' > [[admin/menu:'
+ title[1] + '/' + title[2] + ']]') : '');
}
translator.translate(title).then(function (title) {