Skip to content

Use percent_q style for BarePercentLiterals

Thong Kuah requested to merge rubocop_use_percent_q into master

What does this MR do and why?

Switch to percent_q style, instead of default style for Style/BarePercentLiterals

Why?

  1. GitLab does not highlight %(...) properly #384398 (closed)
  2. I prefer the distinction between %q(...) and %Q(...)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Thong Kuah

Merge request reports

Loading