cyclejs/cycle-core

View on GitHub
examples/advanced/animated-letters/src/main.js

Summary

Maintainability
A
1 hr
Test Coverage

Function calculateAnimationSteps has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function calculateAnimationSteps(point$) {
  function incorporateNewPoint(oldPoints, newPoint) {
    const index = oldPoints.findIndex(point => point.key === newPoint.key)
    let points
    if (index === -1 && newPoint.target === 1) {
Severity: Minor
Found in examples/advanced/animated-letters/src/main.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status