bbc/unicode-bidirectional

View on GitHub
src/paragraph/isolatingRunSequences.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function isolatingRunSequences has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function isolatingRunSequences(paragraphCodepoints, paragraphBidiTypes, paragraphLevel = 0) {
  // [1]: By X9., we remove control characters that are not
  //      needed at this stage in bidi algorithm
  const { runs, bidiTypes, levels } = levelRuns(paragraphCodepoints, paragraphBidiTypes, paragraphLevel);

Severity: Major
Found in src/paragraph/isolatingRunSequences.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status