gilbarbara/colorizr

View on GitHub
src/parse-css.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function parseCSS has 62 lines of code (exceeds 50 allowed). Consider refactoring.
Open

export default function parseCSS<T extends ColorTypes = 'hex'>(
  input: unknown,
  output?: T,
): Return<T> {
  invariant(isString(input), messages.inputString);
Severity: Major
Found in src/parse-css.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status