Remove RuboCop check rule Style/RegexpLiteralMixedPreserve in favor of upstreamed Style/RegexpLiteral
Problem
In !58898 (merged) Style/RegexpLiteralMixedPreserve
was added as a temporary solution and Style/RegexpLiteral
was disabled.
This temporary cop should be removed once the upstream PR is accepted and RuboCop is upgraded.
Solution
- Make sure https://github.com/rubocop/rubocop/pull/9688 is merged
- Upgrade RuboCop
- Configure
Style/RegexpLiteral
accordingly (EnforcedStyle=mixed_preserve
)
Edited by Peter Leitzen