diff --git a/app/filters.js b/app/filters.js index bab203a2..05ef4f27 100644 --- a/app/filters.js +++ b/app/filters.js @@ -1,10 +1,5 @@ module.exports = function (env) { /* eslint-disable-line func-names,no-unused-vars */ - /** - * Instantiate object used to store the methods registered as a - * 'filter' (of the same name) within nunjucks. You can override - * gov.uk core filters by creating filter methods of the same name. - * @type {Object} - */ + const filters = {}; /* ------------------------------------------------------------------ @@ -38,8 +33,6 @@ module.exports = function (env) { /* eslint-disable-line func-names,no-unused-va ------------------------------------------------------------------ */ - /* ------------------------------------------------------------------ - keep the following line to return your filters to the app - ------------------------------------------------------------------ */ + /* keep the following line to return your filters to the app */ return filters; };