examples/advanced/animated-letters/src/main.js
Function calculateAnimationSteps
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
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) {