regexp/use-ignore-case
💼 This rule is enabled in the following configs: 🟢 flat/recommended, 🔵 recommended.
🔧 This rule is automatically fixable by the --fix CLI option.
use the
iflag if it simplifies the pattern
📖 Rule Details
This rule reports regular expressions that can be simplified by adding the i flag.
🔧 Options
Nothing.
🚀 Version
This rule was introduced in eslint-plugin-regexp v1.4.0