Timo4ey/fullstack-javascript-project-4

View on GitHub

Showing 1 of 7 total issues

Function handlingTags has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const handlingTags = ($, tag, pageUrl, resourceFolderPath) => {
  const resources = [];
  const tagAttr = tagTypes[tag].attr;
  $(tag).each((i, pageTag) => {
    if ($(pageTag).attr(tagAttr)) {
Severity: Minor
Found in src/searchPageResources.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language