shaolanx/frontend-project-11

View on GitHub

Showing 1 of 1 total issue

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

const getPosts = (state, i18n) => {
  const { posts } = state;
  const postsListEl = document.createElement('div');
  postsListEl.classList.add('card', 'border-0');

Severity: Minor
Found in src/render.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language