webpack/assets/javascripts/foreman_tools.js
Function activateDatatables
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function activateDatatables() {
const language = {
searchPlaceholder: __('Filter...'),
emptyTable: __('No data available in table'),
info: sprintf(__('Showing %(start)s to %(end)s of %(total)s entries'), {