FezVrasta/popper.js

View on GitHub
packages/react/src/hooks/useInteractions.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function mergeProps has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function mergeProps<Key extends keyof ElementProps>(
  userProps: (React.HTMLProps<Element> & ExtendedUserProps) | undefined,
  propsList: Array<ElementProps | void>,
  elementKey: Key,
): Record<string, unknown> {
Severity: Minor
Found in packages/react/src/hooks/useInteractions.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status