I have this regex of mine that will check the string if it contains link or url (i.e. https://eslint.org/docs/rules/no-useless-escape). Using this regex /(\\b
(i.e. https://eslint.org/docs/rules/no-useless-escape)
/(\\b
//eslint-disable-next-line
place this above the line of code
OR
/*eslint no-undef: 0*/
place this on the first line of the file(or first line of the script tag) this would make eslint disabled on the whole file