anilukin/frontend-project-11

View on GitHub
src/view.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

      There are no issues that match your filters.

      Category
      Status