Skip to content

Commit 81b3df1

Browse files
babrovkapirj
authored andcommitted
PR comments:
*remove quoting from .rubocop.yml
1 parent 3fc6ac3 commit 81b3df1

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.rubocop.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inherit_from:
44
AllCops:
55
Exclude:
66
# Templates are really ERB which Rubocop does not parse
7-
- 'lib/generators/rspec/*/templates/**/*'
7+
- lib/generators/rspec/*/templates/**/*
88

99
Bundler/DuplicatedGem:
1010
Enabled: false
@@ -78,26 +78,26 @@ Layout/SpaceInsideStringInterpolation:
7878

7979
Lint/AmbiguousBlockAssociation:
8080
Exclude:
81-
- 'spec/**/*'
81+
- spec/**/*
8282

8383
Lint/AmbiguousOperator:
8484
Exclude:
85-
- 'Rakefile'
85+
- Rakefile
8686

8787
Lint/AmbiguousRegexpLiteral:
8888
Exclude:
89-
- 'features/step_definitions/additional_cli_steps.rb'
89+
- features/step_definitions/additional_cli_steps.rb
9090

9191
Lint/AssignmentInCondition:
9292
Enabled: false
9393

9494
Lint/DuplicateMethods:
9595
Exclude:
96-
- 'example_app_generator/no_active_record/app/models/in_memory/model.rb'
96+
- example_app_generator/no_active_record/app/models/in_memory/model.rb
9797

9898
Lint/NonDeterministicRequireOrder:
9999
Exclude:
100-
- 'spec/spec_helper.rb'
100+
- spec/spec_helper.rb
101101

102102
Lint/EmptyExpression:
103103
Enabled: false
@@ -116,9 +116,9 @@ Lint/SuppressedException:
116116
Exclude:
117117
# RSpec is tightly coupled to capybara right now, this should be
118118
# re-evaluted in the future. For now we allow the empty rescue
119-
- 'lib/rspec/rails/vendor/capybara.rb'
120-
- 'example_app_generator/generate_stuff.rb'
121-
- 'example_app_generator/spec/support/default_preview_path'
119+
- lib/rspec/rails/vendor/capybara.rb
120+
- example_app_generator/generate_stuff.rb
121+
- example_app_generator/spec/support/default_preview_path
122122

123123
Metrics/AbcSize:
124124
Enabled: false
@@ -138,7 +138,7 @@ Metrics/ModuleLength:
138138

139139
Metrics/ParameterLists:
140140
Exclude:
141-
- 'example_app_generator/spec/verify_custom_renderers_spec.rb'
141+
- example_app_generator/spec/verify_custom_renderers_spec.rb
142142

143143
# Who cares what we call the argument for binary operator methods?
144144
Naming/BinaryOperatorParameterName:
@@ -205,7 +205,7 @@ Style/ClassCheck:
205205

206206
Style/CommentedKeyword:
207207
Exclude:
208-
- 'spec/rspec/rails/example/view_example_group_spec.rb'
208+
- spec/rspec/rails/example/view_example_group_spec.rb
209209

210210
Style/ConditionalAssignment:
211211
Enabled: false
@@ -242,7 +242,7 @@ Style/FrozenStringLiteralComment:
242242

243243
Style/GlobalVars:
244244
Exclude:
245-
- 'spec/support/shared_examples.rb'
245+
- spec/support/shared_examples.rb
246246

247247
Style/GuardClause:
248248
Enabled: false
@@ -309,10 +309,10 @@ Style/PercentLiteralDelimiters:
309309

310310
Style/RaiseArgs:
311311
Exclude:
312-
- 'spec/rspec/rails/matchers/be_routable_spec.rb'
313-
- 'spec/rspec/rails/matchers/have_rendered_spec.rb'
314-
- 'spec/rspec/rails/matchers/redirect_to_spec.rb'
315-
- 'spec/rspec/rails/matchers/route_to_spec.rb'
312+
- spec/rspec/rails/matchers/be_routable_spec.rb
313+
- spec/rspec/rails/matchers/have_rendered_spec.rb
314+
- spec/rspec/rails/matchers/redirect_to_spec.rb
315+
- spec/rspec/rails/matchers/route_to_spec.rb
316316

317317
Style/RegexpLiteral:
318318
Enabled: false
@@ -332,13 +332,13 @@ Style/SignalException:
332332

333333
Style/SingleLineMethods:
334334
Exclude:
335-
- 'spec/rspec/rails/example/controller_example_group_spec.rb'
336-
- 'spec/rspec/rails/matchers/active_job_spec.rb'
337-
- 'spec/rspec/rails/matchers/be_a_new_spec.rb'
338-
- 'spec/rspec/rails/matchers/has_spec.rb'
339-
- 'spec/rspec/rails/matchers/have_enqueued_mail_spec.rb'
340-
- 'spec/rspec/rails/matchers/have_rendered_spec.rb'
341-
- 'spec/rspec/rails/setup_and_teardown_adapter_spec.rb'
335+
- spec/rspec/rails/example/controller_example_group_spec.rb
336+
- spec/rspec/rails/matchers/active_job_spec.rb
337+
- spec/rspec/rails/matchers/be_a_new_spec.rb
338+
- spec/rspec/rails/matchers/has_spec.rb
339+
- spec/rspec/rails/matchers/have_enqueued_mail_spec.rb
340+
- spec/rspec/rails/matchers/have_rendered_spec.rb
341+
- spec/rspec/rails/setup_and_teardown_adapter_spec.rb
342342

343343
# This rule favors constant names from the English standard library which we don't load.
344344
Style/SpecialGlobalVars:

0 commit comments

Comments
 (0)