src/paragraph/isolatingRunSequences.js
Function isolatingRunSequences
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);