Murat72/frontend-project-11

View on GitHub

Showing 2 of 2 total issues

Function renderPosts has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const renderPosts = (state, elements, i18n) => {
  const divCard = document.createElement('div');
  divCard.setAttribute('class', 'card border-0');

  const divCardBody = document.createElement('div');
Severity: Minor
Found in src/views.js - About 1 hr to fix

    Function renderFeeds has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const renderFeeds = (feeds, elements, i18n) => {
      const divCard = document.createElement('div');
      divCard.setAttribute('class', 'card border-0');
    
      const divCardBody = document.createElement('div');
    Severity: Minor
    Found in src/views.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language