# regexp/no-trivially-nested-assertion

disallow trivially nested assertions

  • ⚙️ This rule is included in "plugin:regexp/recommended".
  • 🔧 The --fix option on the command line (opens new window) can automatically fix some of the problems reported by this rule.

# 📖 Rule Details

Lookaround assertions that only contain another assertion can be simplified.

Now loading...

# 🔧 Options

Nothing.

# 🚀 Version

This rule was introduced in eslint-plugin-regexp v0.9.0

# 🔍 Implementation

Last Updated: 6/25/2022, 12:32:38 PM