spritejs/sprite-core

View on GitHub
src/modules/layout/flex.js

Summary

Maintainability
A
1 hr
Test Coverage

Function relayout has 70 lines of code (exceeds 50 allowed). Consider refactoring.
Open

export function relayout(containerSprite, itemsSprite) {
  itemsSprite.sort((a, b) => {
    const orderA = a.attributes.order | 0,
      orderB = b.attributes.order | 0;
    if(orderA !== orderB) {
Severity: Major
Found in src/modules/layout/flex.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status