eslint-plugin-no-lookahead-lookbehind-regexp
eslint-plugin-no-lookahead-lookbehind-regexp copied to clipboard
Lint the use of lookahead and lookbehind regex expressions.
It's seems lookahead and negative lookahead is well supported in all browsers, see documents below: - https://caniuse.com/?search=js-regexp-lookahead - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Lookahead_assertion
Fixes https://github.com/JonasBa/eslint-plugin-no-lookahead-lookbehind-regexp/issues/7 --- This Pull Request is improving the lint rule to check more edge cases, like: ``` new RegExp("(?
Hello, first thank you for your work on this helpful lib. I have a small issue to report. The rule catches this situation: ``` export const lol2 = new RegExp("((?
Bring back the changes from 0.2.0