From 49e729d250c42796a1f7b13bf7ee53f18b1865ad Mon Sep 17 00:00:00 2001 From: Bill Ruddock Date: Sun, 9 Aug 2020 04:45:47 +0100 Subject: [PATCH] Allow %{name} replacements in specs Allow using `%{...}` syntax to substitute values for `expect_offense`. --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 2c1b73b74..6855b9f9c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -54,3 +54,7 @@ RSpec/ExampleLength: RSpec/DescribeClass: Exclude: - spec/project/**/*.rb + +Style/FormatStringToken: + Exclude: + - spec/rubocop/**/*.rb