ivan-nor/frontend-project-lvl2

View on GitHub
src/formatters/plain.js

Summary

Maintainability
A
1 hr
Test Coverage

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

const astToPlain = (ast) => {
  const iter = (tree, accName = '') => {
    const nodes = tree
      .filter(({ type }) => type !== 'unchanged')
      .map(({
Severity: Minor
Found in src/formatters/plain.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status