Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
levyitay committed Jun 25, 2024
1 parent 7cac79e commit 4745452
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/util/shared/src/parsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,7 @@ export const parseNotes = (
};

/* eslint-disable no-control-regex */
export const isRtlText = (
text: string,
onlyFirstWord: boolean = true,
): boolean => {
export const isRtlText = (text: string, onlyFirstWord = true): boolean => {
const rtlChars = new RegExp("[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]");
const ltrChars = new RegExp(
"[\u0000-\u0590\u2000-\u202E\u202A-\u202E\uFB00-\uFB4F]",
Expand Down

0 comments on commit 4745452

Please sign in to comment.