prolesoft/marxist.space

View on GitHub

Showing 2 of 2 total issues

Function fetchy has 33 lines of code (exceeds 25 allowed). Consider refactoring.
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)
Severity: Minor
Found in script.js - About 1 hr to fix

    Function addListFilter has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        const addListFilter = () => {
          const filterButton = $('#filter')
          const ul = $(document.body).find('ul')
    
          // actual filtering function
    Severity: Minor
    Found in script.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language