disallow RegExp literals
- ⚙️ This rule is included in all of
📖 Rule Details
This rule reports the use of RegExp literals.
JSON, JSONC and JSON5 do not allow RegExp literals.
This rule was introduced in eslint-plugin-jsonc v0.2.0