Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supress
Style/RedundantStringEscape
's offenses
This commit supresses the following `Style/RedundantStringEscape`'s offenses. ```console % bundle exec rake (snip) Offenses: spec/rubocop/cop/performance/fixed_size_spec.rb:50:29: C: [Corrected] Style/RedundantStringEscape: Redundant escape of % inside string literal. expect_no_offenses("\%Q(\#{foo}).#{method}") ^^ spec/rubocop/cop/performance/fixed_size_spec.rb:54:29: C: [Corrected] Style/RedundantStringEscape: Redundant escape of % inside string literal. expect_no_offenses("\%(\#{foo}).#{method}") ^^ spec/rubocop/cop/performance/redundant_split_regexp_argument_spec.rb:66:34: C: [Corrected] Style/RedundantStringEscape: Redundant escape of % inside string literal. "foo\\\\\\.bar".split("\\\\\.") ^^ spec/rubocop/cop/performance/string_replacement_spec.rb:47:27: C: [Corrected] Style/RedundantStringEscape: Redundant escape of % inside string literal. 'abc'.#{method}(\"\#{foo}\", '1') ^^ spec/rubocop/cop/performance/string_replacement_spec.rb:47:36: C: [Corrected] Style/RedundantStringEscape: Redundant escape of % inside string literal. 'abc'.#{method}(\"\#{foo}\", '1') ^^ spec/rubocop/cop/performance/string_replacement_spec.rb:54:32: C: [Corrected] Style/RedundantStringEscape: Redundant escape of % inside string literal. 'abc'.#{method}('a', \"\#{foo}\") ^^ spec/rubocop/cop/performance/string_replacement_spec.rb:54:41: C: [Corrected] Style/RedundantStringEscape: Redundant escape of % inside string literal. 'abc'.#{method}('a', \"\#{foo}\") ^^ 115 files inspected, 7 offenses detected, 7 offenses corrected ```
- Loading branch information