jsonc/no-regexp-literals
disallow RegExp literals
- ⚙️ This rule is included in all of
"plugin:jsonc/recommended-with-json"
,"plugin:jsonc/recommended-with-json5"
and"plugin:jsonc/recommended-with-jsonc"
.
📖 Rule Details
This rule reports the use of RegExp literals.
JSON, JSONC and JSON5 do not allow RegExp literals.
🔧 Options
Nothing.
🚀 Version
This rule was introduced in eslint-plugin-jsonc v0.2.0