mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-14 18:49:02 +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 }) => {
|
||||
const search = this.findRegExp
|
||||
let m
|
||||
while (m = search.exec(text)) {
|
||||
// eslint-disable-next-line no-cond-assign
|
||||
while ((m = search.exec(text))) {
|
||||
if (m[0] === '') {
|
||||
break
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user