regexp/control-character-escape
💼 This rule is enabled in the following configs: 🟢 flat/recommended, 🔵 recommended.
🔧 This rule is automatically fixable by the --fix CLI option.
enforce consistent escaping of control characters
📖 Rule Details
This rule reports control characters that were not escaped using a control escape (\0, \t, \n, \v, \f, \r).
🔧 Options
Nothing.
🚀 Version
This rule was introduced in eslint-plugin-regexp v0.9.0