Showing 2 of 2 total issues
Function fetchy
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const fetchy = (resources) => {
// enrich resource with plurals and tag aliases from functions above
const enrichedResources = enrichResources(resources)
const fuse = new window.Fuse(enrichedResources, fuseOptions)
Function addListFilter
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const addListFilter = () => {
const filterButton = $('#filter')
const ul = $(document.body).find('ul')
// actual filtering function