regexp/no-trivially-nested-assertion
💼 This rule is enabled in the following configs: 🟢 flat/recommended, 🔵 recommended.
🔧 This rule is automatically fixable by the --fix CLI option.
disallow trivially nested assertions
📖 Rule Details
Lookaround assertions that only contain another assertion can be simplified.
🔧 Options
Nothing.
🚀 Version
This rule was introduced in eslint-plugin-regexp v0.9.0