anilukin/frontend-project-11

View on GitHub

Showing 2 of 2 total issues

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

const renderPosts = (st, visitedPostsId, i18nInstance) => {
  const posts = document.querySelector('.posts');
  posts.textContent = '';
  if (st.length === 0) {
    return;
Severity: Minor
Found in src/view.js - About 1 hr to fix

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

    const renderFeeds = (st, i18nInstance) => {
      const feeds = document.querySelector('.feeds');
    
      feeds.textContent = '';
    
    
    Severity: Minor
    Found in src/view.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language