mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 11:09:01 +08:00
disable eslint for while loop
This commit is contained in:
parent
2544e40f99
commit
edd54f90b0
@ -94,7 +94,8 @@ export default class Search extends Extension {
|
|||||||
mergedTextNodes.forEach(({ text, pos }) => {
|
mergedTextNodes.forEach(({ text, pos }) => {
|
||||||
const search = this.findRegExp
|
const search = this.findRegExp
|
||||||
let m
|
let m
|
||||||
while (m = search.exec(text)) {
|
// eslint-disable-next-line no-cond-assign
|
||||||
|
while ((m = search.exec(text))) {
|
||||||
if (m[0] === '') {
|
if (m[0] === '') {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user