taye/interact.js

View on GitHub
packages/utils/snappers/grid.ts

Summary

Maintainability
A
1 hr
Test Coverage
F
8%

Function createGrid has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createGrid (grid: (Interact.Rect | Interact.Point) & { range?: number, limits: Interact.Rect, offset: Interact.Point }) {
  const coordFields = [
    ['x', 'y'],
    ['left', 'top'],
    ['right', 'bottom'],
Severity: Minor
Found in packages/utils/snappers/grid.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status