newrelic_rpm 7.2.0 → 8.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (288) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.rubocop.yml +1936 -0
  4. data/CHANGELOG.md +182 -9
  5. data/CONTRIBUTING.md +14 -2
  6. data/Guardfile +8 -8
  7. data/README.md +5 -1
  8. data/Rakefile +5 -7
  9. data/bin/mongrel_rpm +8 -9
  10. data/bin/newrelic +1 -1
  11. data/bin/nrdebug +14 -14
  12. data/init.rb +0 -2
  13. data/lefthook.yml +9 -0
  14. data/lib/new_relic/agent/adaptive_sampler.rb +9 -5
  15. data/lib/new_relic/agent/agent.rb +44 -46
  16. data/lib/new_relic/agent/agent_logger.rb +8 -9
  17. data/lib/new_relic/agent/attribute_filter.rb +31 -31
  18. data/lib/new_relic/agent/attributes.rb +2 -2
  19. data/lib/new_relic/agent/autostart.rb +6 -7
  20. data/lib/new_relic/agent/commands/agent_command.rb +2 -2
  21. data/lib/new_relic/agent/commands/agent_command_router.rb +6 -5
  22. data/lib/new_relic/agent/commands/thread_profiler_session.rb +7 -6
  23. data/lib/new_relic/agent/configuration/default_source.rb +352 -336
  24. data/lib/new_relic/agent/configuration/dotted_hash.rb +3 -3
  25. data/lib/new_relic/agent/configuration/environment_source.rb +3 -4
  26. data/lib/new_relic/agent/configuration/event_harvest_config.rb +30 -16
  27. data/lib/new_relic/agent/configuration/high_security_source.rb +7 -7
  28. data/lib/new_relic/agent/configuration/manager.rb +57 -58
  29. data/lib/new_relic/agent/configuration/mask_defaults.rb +1 -1
  30. data/lib/new_relic/agent/configuration/security_policy_source.rb +73 -73
  31. data/lib/new_relic/agent/configuration/server_source.rb +12 -11
  32. data/lib/new_relic/agent/configuration/yaml_source.rb +26 -5
  33. data/lib/new_relic/agent/connect/request_builder.rb +13 -16
  34. data/lib/new_relic/agent/connect/response_handler.rb +0 -3
  35. data/lib/new_relic/agent/custom_event_aggregator.rb +9 -9
  36. data/lib/new_relic/agent/database/explain_plan_helpers.rb +3 -4
  37. data/lib/new_relic/agent/database/obfuscation_helpers.rb +12 -12
  38. data/lib/new_relic/agent/database/postgres_explain_obfuscator.rb +2 -2
  39. data/lib/new_relic/agent/database.rb +25 -26
  40. data/lib/new_relic/agent/datastores/metric_helper.rb +10 -10
  41. data/lib/new_relic/agent/datastores/mongo/event_formatter.rb +2 -3
  42. data/lib/new_relic/agent/datastores/mongo/metric_translator.rb +3 -5
  43. data/lib/new_relic/agent/datastores/mongo/obfuscator.rb +1 -2
  44. data/lib/new_relic/agent/datastores/mongo.rb +5 -10
  45. data/lib/new_relic/agent/datastores/redis.rb +2 -4
  46. data/lib/new_relic/agent/datastores.rb +7 -9
  47. data/lib/new_relic/agent/distributed_tracing/cross_app_payload.rb +9 -9
  48. data/lib/new_relic/agent/distributed_tracing/cross_app_tracing.rb +21 -16
  49. data/lib/new_relic/agent/distributed_tracing/distributed_trace_attributes.rb +10 -12
  50. data/lib/new_relic/agent/distributed_tracing/distributed_trace_payload.rb +42 -43
  51. data/lib/new_relic/agent/distributed_tracing/distributed_trace_transport_type.rb +3 -3
  52. data/lib/new_relic/agent/distributed_tracing/trace_context.rb +41 -43
  53. data/lib/new_relic/agent/distributed_tracing/trace_context_payload.rb +25 -25
  54. data/lib/new_relic/agent/distributed_tracing.rb +17 -18
  55. data/lib/new_relic/agent/encoding_normalizer.rb +1 -1
  56. data/lib/new_relic/agent/error_collector.rb +17 -17
  57. data/lib/new_relic/agent/error_event_aggregator.rb +1 -1
  58. data/lib/new_relic/agent/error_filter.rb +16 -10
  59. data/lib/new_relic/agent/error_trace_aggregator.rb +1 -1
  60. data/lib/new_relic/agent/event_aggregator.rb +1 -1
  61. data/lib/new_relic/agent/event_buffer.rb +6 -7
  62. data/lib/new_relic/agent/event_listener.rb +0 -1
  63. data/lib/new_relic/agent/event_loop.rb +14 -14
  64. data/lib/new_relic/agent/external.rb +1 -34
  65. data/lib/new_relic/agent/guid_generator.rb +1 -3
  66. data/lib/new_relic/agent/harvester.rb +3 -4
  67. data/lib/new_relic/agent/heap.rb +1 -3
  68. data/lib/new_relic/agent/hostname.rb +3 -3
  69. data/lib/new_relic/agent/http_clients/abstract.rb +7 -9
  70. data/lib/new_relic/agent/http_clients/curb_wrappers.rb +1 -5
  71. data/lib/new_relic/agent/http_clients/excon_wrappers.rb +4 -4
  72. data/lib/new_relic/agent/http_clients/http_rb_wrappers.rb +3 -3
  73. data/lib/new_relic/agent/http_clients/httpclient_wrappers.rb +1 -2
  74. data/lib/new_relic/agent/http_clients/net_http_wrappers.rb +8 -3
  75. data/lib/new_relic/agent/http_clients/typhoeus_wrappers.rb +2 -3
  76. data/lib/new_relic/agent/http_clients/uri_util.rb +0 -1
  77. data/lib/new_relic/agent/instrumentation/action_cable_subscriber.rb +2 -3
  78. data/lib/new_relic/agent/instrumentation/action_controller_subscriber.rb +10 -11
  79. data/lib/new_relic/agent/instrumentation/action_view_subscriber.rb +5 -7
  80. data/lib/new_relic/agent/instrumentation/active_job.rb +4 -3
  81. data/lib/new_relic/agent/instrumentation/active_merchant.rb +3 -3
  82. data/lib/new_relic/agent/instrumentation/active_record.rb +20 -18
  83. data/lib/new_relic/agent/instrumentation/active_record_helper.rb +36 -42
  84. data/lib/new_relic/agent/instrumentation/active_record_notifications.rb +28 -25
  85. data/lib/new_relic/agent/instrumentation/active_record_prepend.rb +3 -3
  86. data/lib/new_relic/agent/instrumentation/active_record_subscriber.rb +5 -6
  87. data/lib/new_relic/agent/instrumentation/acts_as_solr.rb +8 -9
  88. data/lib/new_relic/agent/instrumentation/bunny/chain.rb +1 -1
  89. data/lib/new_relic/agent/instrumentation/bunny/instrumentation.rb +8 -9
  90. data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +42 -42
  91. data/lib/new_relic/agent/instrumentation/curb/chain.rb +19 -20
  92. data/lib/new_relic/agent/instrumentation/curb/instrumentation.rb +34 -38
  93. data/lib/new_relic/agent/instrumentation/curb/prepend.rb +9 -10
  94. data/lib/new_relic/agent/instrumentation/data_mapper.rb +10 -10
  95. data/lib/new_relic/agent/instrumentation/delayed_job/chain.rb +5 -7
  96. data/lib/new_relic/agent/instrumentation/delayed_job/instrumentation.rb +5 -9
  97. data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +4 -4
  98. data/lib/new_relic/agent/instrumentation/excon/middleware.rb +2 -2
  99. data/lib/new_relic/agent/instrumentation/excon.rb +3 -23
  100. data/lib/new_relic/agent/instrumentation/grape/chain.rb +1 -2
  101. data/lib/new_relic/agent/instrumentation/grape/instrumentation.rb +6 -7
  102. data/lib/new_relic/agent/instrumentation/grape.rb +2 -3
  103. data/lib/new_relic/agent/instrumentation/httpclient/chain.rb +2 -3
  104. data/lib/new_relic/agent/instrumentation/httpclient/instrumentation.rb +0 -1
  105. data/lib/new_relic/agent/instrumentation/httpclient/prepend.rb +0 -2
  106. data/lib/new_relic/agent/instrumentation/httprb/chain.rb +2 -2
  107. data/lib/new_relic/agent/instrumentation/httprb/instrumentation.rb +6 -6
  108. data/lib/new_relic/agent/instrumentation/httprb/prepend.rb +1 -1
  109. data/lib/new_relic/agent/instrumentation/ignore_actions.rb +2 -3
  110. data/lib/new_relic/agent/instrumentation/logger/chain.rb +21 -0
  111. data/lib/new_relic/agent/instrumentation/logger/instrumentation.rb +58 -0
  112. data/lib/new_relic/agent/instrumentation/logger/prepend.rb +13 -0
  113. data/lib/new_relic/agent/instrumentation/logger.rb +25 -0
  114. data/lib/new_relic/agent/instrumentation/memcache/dalli.rb +7 -2
  115. data/lib/new_relic/agent/instrumentation/memcache/helper.rb +5 -1
  116. data/lib/new_relic/agent/instrumentation/memcache/prepend.rb +9 -2
  117. data/lib/new_relic/agent/instrumentation/middleware_proxy.rb +9 -10
  118. data/lib/new_relic/agent/instrumentation/middleware_tracing.rb +4 -5
  119. data/lib/new_relic/agent/instrumentation/mongo.rb +3 -141
  120. data/lib/new_relic/agent/instrumentation/mongodb_command_subscriber.rb +4 -4
  121. data/lib/new_relic/agent/instrumentation/net_http/chain.rb +3 -4
  122. data/lib/new_relic/agent/instrumentation/net_http/instrumentation.rb +5 -5
  123. data/lib/new_relic/agent/instrumentation/net_http/prepend.rb +4 -4
  124. data/lib/new_relic/agent/instrumentation/net_http.rb +1 -1
  125. data/lib/new_relic/agent/instrumentation/notifications_subscriber.rb +2 -3
  126. data/lib/new_relic/agent/instrumentation/padrino/chain.rb +23 -19
  127. data/lib/new_relic/agent/instrumentation/padrino/instrumentation.rb +3 -2
  128. data/lib/new_relic/agent/instrumentation/padrino/prepend.rb +2 -2
  129. data/lib/new_relic/agent/instrumentation/padrino.rb +2 -5
  130. data/lib/new_relic/agent/instrumentation/queue_time.rb +8 -8
  131. data/lib/new_relic/agent/instrumentation/rack/chain.rb +5 -5
  132. data/lib/new_relic/agent/instrumentation/rack/helpers.rb +0 -1
  133. data/lib/new_relic/agent/instrumentation/rack/instrumentation.rb +4 -5
  134. data/lib/new_relic/agent/instrumentation/rack/prepend.rb +0 -1
  135. data/lib/new_relic/agent/instrumentation/rack.rb +1 -1
  136. data/lib/new_relic/agent/instrumentation/rails3/action_controller.rb +11 -47
  137. data/lib/new_relic/agent/instrumentation/rails_notifications/action_cable.rb +2 -2
  138. data/lib/new_relic/agent/instrumentation/rails_notifications/action_controller.rb +0 -1
  139. data/lib/new_relic/agent/instrumentation/rake/chain.rb +0 -5
  140. data/lib/new_relic/agent/instrumentation/rake/instrumentation.rb +6 -6
  141. data/lib/new_relic/agent/instrumentation/rake.rb +1 -1
  142. data/lib/new_relic/agent/instrumentation/redis/chain.rb +6 -6
  143. data/lib/new_relic/agent/instrumentation/redis/instrumentation.rb +2 -2
  144. data/lib/new_relic/agent/instrumentation/redis/prepend.rb +1 -1
  145. data/lib/new_relic/agent/instrumentation/redis.rb +1 -1
  146. data/lib/new_relic/agent/instrumentation/resque/chain.rb +2 -3
  147. data/lib/new_relic/agent/instrumentation/resque/helper.rb +1 -1
  148. data/lib/new_relic/agent/instrumentation/resque/instrumentation.rb +4 -4
  149. data/lib/new_relic/agent/instrumentation/resque/prepend.rb +1 -2
  150. data/lib/new_relic/agent/instrumentation/resque.rb +7 -7
  151. data/lib/new_relic/agent/instrumentation/sequel.rb +7 -9
  152. data/lib/new_relic/agent/instrumentation/sequel_helper.rb +1 -1
  153. data/lib/new_relic/agent/instrumentation/sidekiq.rb +7 -1
  154. data/lib/new_relic/agent/instrumentation/sinatra/ignorer.rb +0 -1
  155. data/lib/new_relic/agent/instrumentation/sinatra/instrumentation.rb +4 -3
  156. data/lib/new_relic/agent/instrumentation/sunspot.rb +1 -1
  157. data/lib/new_relic/agent/instrumentation/tilt/chain.rb +24 -0
  158. data/lib/new_relic/agent/instrumentation/tilt/instrumentation.rb +40 -0
  159. data/lib/new_relic/agent/instrumentation/tilt/prepend.rb +13 -0
  160. data/lib/new_relic/agent/instrumentation/tilt.rb +25 -0
  161. data/lib/new_relic/agent/instrumentation/typhoeus/chain.rb +4 -4
  162. data/lib/new_relic/agent/instrumentation/typhoeus/instrumentation.rb +3 -5
  163. data/lib/new_relic/agent/instrumentation/typhoeus/prepend.rb +1 -1
  164. data/lib/new_relic/agent/internal_agent_error.rb +1 -1
  165. data/lib/new_relic/agent/javascript_instrumentor.rb +30 -30
  166. data/lib/new_relic/agent/logging.rb +11 -8
  167. data/lib/new_relic/agent/memory_logger.rb +1 -1
  168. data/lib/new_relic/agent/messaging.rb +46 -61
  169. data/lib/new_relic/agent/method_tracer.rb +139 -143
  170. data/lib/new_relic/agent/method_tracer_helpers.rb +2 -2
  171. data/lib/new_relic/agent/monitors/cross_app_monitor.rb +21 -13
  172. data/lib/new_relic/agent/monitors/distributed_tracing_monitor.rb +2 -2
  173. data/lib/new_relic/agent/monitors/inbound_request_monitor.rb +0 -1
  174. data/lib/new_relic/agent/monitors/synthetics_monitor.rb +4 -7
  175. data/lib/new_relic/agent/monitors.rb +1 -2
  176. data/lib/new_relic/agent/new_relic_service/encoders.rb +4 -4
  177. data/lib/new_relic/agent/new_relic_service/json_marshaller.rb +1 -1
  178. data/lib/new_relic/agent/new_relic_service/marshaller.rb +1 -1
  179. data/lib/new_relic/agent/new_relic_service/security_policy_settings.rb +4 -3
  180. data/lib/new_relic/agent/new_relic_service.rb +34 -41
  181. data/lib/new_relic/agent/noticible_error.rb +0 -2
  182. data/lib/new_relic/agent/null_logger.rb +6 -2
  183. data/lib/new_relic/agent/obfuscator.rb +6 -8
  184. data/lib/new_relic/agent/parameter_filtering.rb +3 -5
  185. data/lib/new_relic/agent/payload_metric_mapping.rb +8 -9
  186. data/lib/new_relic/agent/pipe_channel_manager.rb +15 -12
  187. data/lib/new_relic/agent/pipe_service.rb +2 -2
  188. data/lib/new_relic/agent/priority_sampled_buffer.rb +4 -7
  189. data/lib/new_relic/agent/rules_engine/replacement_rule.rb +9 -9
  190. data/lib/new_relic/agent/rules_engine/segment_terms_rule.rb +12 -12
  191. data/lib/new_relic/agent/rules_engine.rb +2 -2
  192. data/lib/new_relic/agent/sampler.rb +2 -3
  193. data/lib/new_relic/agent/sampler_collection.rb +2 -3
  194. data/lib/new_relic/agent/samplers/cpu_sampler.rb +1 -1
  195. data/lib/new_relic/agent/samplers/delayed_job_sampler.rb +10 -7
  196. data/lib/new_relic/agent/samplers/memory_sampler.rb +4 -3
  197. data/lib/new_relic/agent/samplers/vm_sampler.rb +18 -18
  198. data/lib/new_relic/agent/span_event_aggregator.rb +10 -10
  199. data/lib/new_relic/agent/span_event_primitive.rb +39 -39
  200. data/lib/new_relic/agent/sql_sampler.rb +9 -9
  201. data/lib/new_relic/agent/stats.rb +16 -16
  202. data/lib/new_relic/agent/stats_engine/gc_profiler.rb +7 -9
  203. data/lib/new_relic/agent/stats_engine/stats_hash.rb +8 -9
  204. data/lib/new_relic/agent/stats_engine.rb +7 -7
  205. data/lib/new_relic/agent/synthetics_event_aggregator.rb +0 -1
  206. data/lib/new_relic/agent/system_info.rb +22 -20
  207. data/lib/new_relic/agent/threading/agent_thread.rb +4 -5
  208. data/lib/new_relic/agent/threading/backtrace_node.rb +6 -9
  209. data/lib/new_relic/agent/threading/backtrace_service.rb +12 -13
  210. data/lib/new_relic/agent/threading/thread_profile.rb +16 -19
  211. data/lib/new_relic/agent/tracer.rb +43 -71
  212. data/lib/new_relic/agent/transaction/abstract_segment.rb +9 -9
  213. data/lib/new_relic/agent/transaction/datastore_segment.rb +7 -6
  214. data/lib/new_relic/agent/transaction/distributed_tracer.rb +8 -9
  215. data/lib/new_relic/agent/transaction/distributed_tracing.rb +21 -22
  216. data/lib/new_relic/agent/transaction/external_request_segment.rb +6 -5
  217. data/lib/new_relic/agent/transaction/message_broker_segment.rb +24 -30
  218. data/lib/new_relic/agent/transaction/request_attributes.rb +7 -7
  219. data/lib/new_relic/agent/transaction/segment.rb +6 -3
  220. data/lib/new_relic/agent/transaction/slowest_sample_buffer.rb +0 -2
  221. data/lib/new_relic/agent/transaction/trace.rb +8 -8
  222. data/lib/new_relic/agent/transaction/trace_context.rb +13 -15
  223. data/lib/new_relic/agent/transaction/trace_node.rb +16 -16
  224. data/lib/new_relic/agent/transaction/tracing.rb +1 -3
  225. data/lib/new_relic/agent/transaction/transaction_sample_buffer.rb +1 -2
  226. data/lib/new_relic/agent/transaction.rb +85 -108
  227. data/lib/new_relic/agent/transaction_error_primitive.rb +16 -16
  228. data/lib/new_relic/agent/transaction_event_aggregator.rb +5 -6
  229. data/lib/new_relic/agent/transaction_event_primitive.rb +29 -29
  230. data/lib/new_relic/agent/transaction_metrics.rb +3 -3
  231. data/lib/new_relic/agent/transaction_sampler.rb +0 -1
  232. data/lib/new_relic/agent/transaction_time_aggregator.rb +11 -11
  233. data/lib/new_relic/agent/utilization/azure.rb +1 -1
  234. data/lib/new_relic/agent/utilization_data.rb +3 -4
  235. data/lib/new_relic/agent/vm/monotonic_gc_profiler.rb +1 -1
  236. data/lib/new_relic/agent/vm/snapshot.rb +4 -4
  237. data/lib/new_relic/agent/worker_loop.rb +8 -10
  238. data/lib/new_relic/agent.rb +27 -27
  239. data/lib/new_relic/cli/command.rb +15 -17
  240. data/lib/new_relic/cli/commands/deployments.rb +21 -23
  241. data/lib/new_relic/cli/commands/install.rb +6 -10
  242. data/lib/new_relic/coerce.rb +5 -8
  243. data/lib/new_relic/collection_helper.rb +48 -47
  244. data/lib/new_relic/constants.rb +0 -4
  245. data/lib/new_relic/control/class_methods.rb +2 -2
  246. data/lib/new_relic/control/frameworks/external.rb +1 -1
  247. data/lib/new_relic/control/frameworks/rails.rb +5 -6
  248. data/lib/new_relic/control/frameworks/rails3.rb +2 -3
  249. data/lib/new_relic/control/frameworks/ruby.rb +2 -2
  250. data/lib/new_relic/control/instance_methods.rb +4 -5
  251. data/lib/new_relic/control/instrumentation.rb +4 -5
  252. data/lib/new_relic/control/server_methods.rb +2 -3
  253. data/lib/new_relic/control.rb +0 -1
  254. data/lib/new_relic/dependency_detection.rb +6 -8
  255. data/lib/new_relic/environment_report.rb +16 -18
  256. data/lib/new_relic/helper.rb +5 -5
  257. data/lib/new_relic/language_support.rb +1 -1
  258. data/lib/new_relic/latest_changes.rb +2 -2
  259. data/lib/new_relic/local_environment.rb +7 -7
  260. data/lib/new_relic/metric_data.rb +6 -7
  261. data/lib/new_relic/metric_spec.rb +3 -3
  262. data/lib/new_relic/noticed_error.rb +16 -17
  263. data/lib/new_relic/rack/agent_middleware.rb +2 -2
  264. data/lib/new_relic/rack/browser_monitoring.rb +9 -9
  265. data/lib/new_relic/recipes/capistrano3.rb +11 -13
  266. data/lib/new_relic/recipes/capistrano_legacy.rb +11 -14
  267. data/lib/new_relic/supportability_helper.rb +1 -2
  268. data/lib/new_relic/version.rb +4 -5
  269. data/lib/newrelic_rpm.rb +10 -34
  270. data/lib/sequel/extensions/newrelic_instrumentation.rb +4 -7
  271. data/lib/sequel/plugins/newrelic_instrumentation.rb +3 -9
  272. data/lib/tasks/all.rb +2 -2
  273. data/lib/tasks/config.rake +21 -21
  274. data/lib/tasks/multiverse.rb +4 -6
  275. data/lib/tasks/tests.rake +3 -7
  276. data/newrelic.yml +580 -3
  277. data/newrelic_rpm.gemspec +13 -12
  278. data/recipes/newrelic.rb +1 -1
  279. data/test/agent_helper.rb +80 -55
  280. metadata +42 -13
  281. data/lib/new_relic/agent/datastores/mongo/statement_formatter.rb +0 -53
  282. data/lib/new_relic/agent/instrumentation/excon/connection.rb +0 -49
  283. data/lib/new_relic/agent/instrumentation/merb/controller.rb +0 -44
  284. data/lib/new_relic/agent/instrumentation/merb/errors.rb +0 -33
  285. data/lib/new_relic/agent/instrumentation/rails/action_controller.rb +0 -125
  286. data/lib/new_relic/agent/instrumentation/rails/action_web_service.rb +0 -46
  287. data/lib/new_relic/agent/supported_versions.rb +0 -275
  288. data/lib/new_relic/control/frameworks/merb.rb +0 -29
data/.rubocop.yml ADDED
@@ -0,0 +1,1936 @@
1
+ require:
2
+ - rubocop-performance
3
+
4
+ AllCops:
5
+ # Prevent RuboCop from exploding when it finds an older-than-2.4 .ruby-version
6
+ TargetRubyVersion: 2.5
7
+ Exclude: []
8
+
9
+ Bundler/DuplicatedGem:
10
+ Enabled: true
11
+ Include:
12
+ - '**/*.gemfile'
13
+ - '**/Gemfile'
14
+ - '**/gems.rb'
15
+ - '**/*.gemspec'
16
+
17
+ Bundler/GemComment:
18
+ Enabled: false
19
+
20
+ Bundler/GemFilename:
21
+ Enabled: false
22
+
23
+ Bundler/GemVersion:
24
+ Enabled: false
25
+
26
+ Bundler/InsecureProtocolSource:
27
+ Enabled: true
28
+ Include:
29
+ - '**/*.gemfile'
30
+ - '**/Gemfile'
31
+ - '**/gems.rb'
32
+
33
+ Bundler/OrderedGems:
34
+ Enabled: false
35
+
36
+ Gemspec/DateAssignment:
37
+ Enabled: true
38
+
39
+ Gemspec/DuplicatedAssignment:
40
+ Enabled: true
41
+ Include:
42
+ - '**/*.gemspec'
43
+
44
+ Gemspec/OrderedDependencies:
45
+ Enabled: false
46
+
47
+ Gemspec/RequiredRubyVersion:
48
+ Enabled: false
49
+
50
+ Gemspec/RubyVersionGlobalsUsage:
51
+ Enabled: false
52
+
53
+ Layout/AccessModifierIndentation:
54
+ Enabled: true
55
+ EnforcedStyle: indent
56
+ IndentationWidth: ~
57
+
58
+ Layout/ArgumentAlignment:
59
+ Enabled: true
60
+ EnforcedStyle: with_fixed_indentation
61
+
62
+ Layout/ArrayAlignment:
63
+ Enabled: true
64
+ EnforcedStyle: with_fixed_indentation
65
+
66
+ Layout/AssignmentIndentation:
67
+ Enabled: true
68
+ IndentationWidth: ~
69
+
70
+ Layout/BeginEndAlignment:
71
+ Enabled: true
72
+ EnforcedStyleAlignWith: start_of_line
73
+ AutoCorrect: true
74
+ Severity: warning
75
+
76
+ Layout/BlockAlignment:
77
+ Enabled: true
78
+ EnforcedStyleAlignWith: either
79
+
80
+ Layout/BlockEndNewline:
81
+ Enabled: true
82
+
83
+ Layout/CaseIndentation:
84
+ # Disabled because IndentOneStep can't be configured for one-liner cases. See:
85
+ # https://github.com/rubocop-hq/rubocop/issues/6447
86
+ Enabled: false
87
+
88
+ Layout/ClassStructure:
89
+ Enabled: false
90
+
91
+ Layout/ClosingHeredocIndentation:
92
+ Enabled: true
93
+
94
+ Layout/ClosingParenthesisIndentation:
95
+ Enabled: true
96
+
97
+ Layout/CommentIndentation:
98
+ Enabled: true
99
+
100
+ # Disabling for now
101
+ Layout/ConditionPosition:
102
+ Enabled: false
103
+
104
+ Layout/DefEndAlignment:
105
+ Enabled: true
106
+ EnforcedStyleAlignWith: start_of_line
107
+ AutoCorrect: true
108
+ Severity: warning
109
+
110
+ Layout/DotPosition:
111
+ Enabled: true
112
+ EnforcedStyle: leading
113
+
114
+ Layout/ElseAlignment:
115
+ Enabled: true
116
+
117
+ Layout/EmptyComment:
118
+ Enabled: true
119
+ AllowBorderComment: true
120
+ AllowMarginComment: true
121
+
122
+ Layout/EmptyLineAfterGuardClause:
123
+ Enabled: false
124
+
125
+ # Disabling for now
126
+ Layout/EmptyLineAfterMagicComment:
127
+ Enabled: false
128
+
129
+ Layout/EmptyLineAfterMultilineCondition:
130
+ Enabled: false
131
+
132
+ # Disabling for now
133
+ Layout/EmptyLineBetweenDefs:
134
+ Enabled: false
135
+ # AllowAdjacentOneLineDefs: false
136
+ # NumberOfEmptyLines: 1
137
+
138
+ Layout/EmptyLines:
139
+ Enabled: true
140
+
141
+ Layout/EmptyLinesAroundAccessModifier:
142
+ Enabled: true
143
+
144
+ Layout/EmptyLinesAroundArguments:
145
+ Enabled: true
146
+
147
+ Layout/EmptyLinesAroundAttributeAccessor:
148
+ Enabled: false
149
+
150
+ Layout/EmptyLinesAroundBeginBody:
151
+ Enabled: true
152
+
153
+ Layout/EmptyLinesAroundBlockBody:
154
+ Enabled: true
155
+ EnforcedStyle: no_empty_lines
156
+
157
+ Layout/EmptyLinesAroundClassBody:
158
+ Enabled: true
159
+ EnforcedStyle: no_empty_lines
160
+
161
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
162
+ Enabled: true
163
+
164
+ Layout/EmptyLinesAroundMethodBody:
165
+ Enabled: true
166
+
167
+ Layout/EmptyLinesAroundModuleBody:
168
+ Enabled: true
169
+ EnforcedStyle: no_empty_lines
170
+
171
+ Layout/EndAlignment:
172
+ Enabled: true
173
+ AutoCorrect: true
174
+ EnforcedStyleAlignWith: variable
175
+ Severity: warning
176
+
177
+ Layout/EndOfLine:
178
+ Enabled: true
179
+ EnforcedStyle: native
180
+
181
+ Layout/ExtraSpacing:
182
+ Enabled: true
183
+ AllowForAlignment: false
184
+ AllowBeforeTrailingComments: false
185
+ ForceEqualSignAlignment: false
186
+
187
+ Layout/FirstArgumentIndentation:
188
+ Enabled: true
189
+ EnforcedStyle: consistent
190
+ IndentationWidth: ~
191
+
192
+ Layout/FirstArrayElementIndentation:
193
+ Enabled: true
194
+ EnforcedStyle: consistent
195
+ IndentationWidth: ~
196
+
197
+ Layout/FirstArrayElementLineBreak:
198
+ Enabled: false
199
+
200
+ Layout/FirstHashElementIndentation:
201
+ Enabled: true
202
+ EnforcedStyle: consistent
203
+ IndentationWidth: ~
204
+
205
+ Layout/FirstHashElementLineBreak:
206
+ Enabled: false
207
+
208
+ Layout/FirstMethodArgumentLineBreak:
209
+ Enabled: false
210
+
211
+ Layout/FirstMethodParameterLineBreak:
212
+ Enabled: false
213
+
214
+ Layout/FirstParameterIndentation:
215
+ Enabled: false
216
+
217
+ Layout/HashAlignment:
218
+ Enabled: true
219
+ EnforcedHashRocketStyle: key
220
+ EnforcedColonStyle: key
221
+ EnforcedLastArgumentHashStyle: always_inspect
222
+
223
+ Layout/HeredocArgumentClosingParenthesis:
224
+ Enabled: false
225
+
226
+ # Disabling for now
227
+ Layout/HeredocIndentation:
228
+ Enabled: false
229
+
230
+ Layout/IndentationConsistency:
231
+ Enabled: true
232
+ EnforcedStyle: normal
233
+
234
+ Layout/IndentationStyle:
235
+ Enabled: true
236
+ IndentationWidth: ~
237
+
238
+ Layout/IndentationWidth:
239
+ Enabled: true
240
+ Width: 2
241
+ IgnoredPatterns: []
242
+
243
+ Layout/InitialIndentation:
244
+ Enabled: true
245
+
246
+ Layout/LeadingCommentSpace:
247
+ Enabled: true
248
+
249
+ Layout/LeadingEmptyLines:
250
+ Enabled: true
251
+
252
+ Layout/LineEndStringConcatenationIndentation:
253
+ Enabled: false
254
+
255
+ Layout/LineLength:
256
+ Enabled: false
257
+
258
+ Layout/MultilineArrayBraceLayout:
259
+ Enabled: true
260
+ EnforcedStyle: symmetrical
261
+
262
+ Layout/MultilineArrayLineBreaks:
263
+ Enabled: false
264
+
265
+ Layout/MultilineAssignmentLayout:
266
+ Enabled: false
267
+
268
+ Layout/MultilineBlockLayout:
269
+ Enabled: true
270
+
271
+ Layout/MultilineHashBraceLayout:
272
+ Enabled: true
273
+ EnforcedStyle: symmetrical
274
+
275
+ Layout/MultilineHashKeyLineBreaks:
276
+ Enabled: false
277
+
278
+ Layout/MultilineMethodArgumentLineBreaks:
279
+ Enabled: false
280
+
281
+ Layout/MultilineMethodCallBraceLayout:
282
+ Enabled: true
283
+ EnforcedStyle: symmetrical
284
+
285
+ Layout/MultilineMethodCallIndentation:
286
+ Enabled: true
287
+ EnforcedStyle: indented
288
+ IndentationWidth: ~
289
+
290
+ Layout/MultilineMethodDefinitionBraceLayout:
291
+ Enabled: true
292
+ EnforcedStyle: symmetrical
293
+
294
+ Layout/MultilineOperationIndentation:
295
+ Enabled: true
296
+ EnforcedStyle: indented
297
+ IndentationWidth: ~
298
+
299
+ Layout/ParameterAlignment:
300
+ Enabled: true
301
+ EnforcedStyle: with_fixed_indentation
302
+ IndentationWidth: ~
303
+
304
+ Layout/RedundantLineBreak:
305
+ Enabled: false
306
+
307
+ Layout/RescueEnsureAlignment:
308
+ Enabled: true
309
+
310
+ Layout/SingleLineBlockChain:
311
+ Enabled: false
312
+
313
+ Layout/SpaceAfterColon:
314
+ Enabled: true
315
+
316
+ Layout/SpaceAfterComma:
317
+ Enabled: true
318
+
319
+ Layout/SpaceAfterMethodName:
320
+ Enabled: true
321
+
322
+ Layout/SpaceAfterNot:
323
+ Enabled: true
324
+
325
+ Layout/SpaceAfterSemicolon:
326
+ Enabled: true
327
+
328
+ Layout/SpaceAroundBlockParameters:
329
+ Enabled: true
330
+ EnforcedStyleInsidePipes: no_space
331
+
332
+ Layout/SpaceAroundEqualsInParameterDefault:
333
+ Enabled: true
334
+ EnforcedStyle: space
335
+
336
+ Layout/SpaceAroundKeyword:
337
+ Enabled: true
338
+
339
+ Layout/SpaceAroundMethodCallOperator:
340
+ Enabled: true
341
+
342
+ Layout/SpaceAroundOperators:
343
+ Enabled: true
344
+ AllowForAlignment: true
345
+
346
+ Layout/SpaceBeforeBlockBraces:
347
+ Enabled: true
348
+ EnforcedStyle: space
349
+ EnforcedStyleForEmptyBraces: space
350
+
351
+ Layout/SpaceBeforeBrackets:
352
+ Enabled: false
353
+
354
+ Layout/SpaceBeforeComma:
355
+ Enabled: true
356
+
357
+ Layout/SpaceBeforeComment:
358
+ Enabled: true
359
+
360
+ Layout/SpaceBeforeFirstArg:
361
+ Enabled: true
362
+ AllowForAlignment: true
363
+
364
+ Layout/SpaceBeforeSemicolon:
365
+ Enabled: true
366
+
367
+ # Disabling for now
368
+ Layout/SpaceInLambdaLiteral:
369
+ Enabled: false
370
+ # EnforcedStyle: require_no_space
371
+
372
+ Layout/SpaceInsideArrayLiteralBrackets:
373
+ Enabled: true
374
+ EnforcedStyle: no_space
375
+ EnforcedStyleForEmptyBrackets: no_space
376
+
377
+ Layout/SpaceInsideArrayPercentLiteral:
378
+ Enabled: true
379
+
380
+ Layout/SpaceInsideBlockBraces:
381
+ Enabled: true
382
+ EnforcedStyle: space
383
+ EnforcedStyleForEmptyBraces: no_space
384
+ SpaceBeforeBlockParameters: true
385
+
386
+ Layout/SpaceInsideHashLiteralBraces:
387
+ Enabled: true
388
+ EnforcedStyle: no_space
389
+ EnforcedStyleForEmptyBraces: no_space
390
+
391
+ Layout/SpaceInsideParens:
392
+ Enabled: true
393
+ EnforcedStyle: no_space
394
+
395
+ # Disabling for now
396
+ Layout/SpaceInsidePercentLiteralDelimiters:
397
+ Enabled: false
398
+
399
+ Layout/SpaceInsideRangeLiteral:
400
+ Enabled: true
401
+
402
+ Layout/SpaceInsideReferenceBrackets:
403
+ Enabled: true
404
+ EnforcedStyle: no_space
405
+ EnforcedStyleForEmptyBrackets: no_space
406
+
407
+ Layout/SpaceInsideStringInterpolation:
408
+ Enabled: true
409
+ EnforcedStyle: no_space
410
+
411
+ Layout/TrailingEmptyLines:
412
+ Enabled: true
413
+ EnforcedStyle: final_newline
414
+
415
+ Layout/TrailingWhitespace:
416
+ Enabled: true
417
+ AllowInHeredoc: true
418
+
419
+ Lint/AmbiguousAssignment:
420
+ Enabled: true
421
+
422
+ Lint/AmbiguousBlockAssociation:
423
+ Enabled: false
424
+
425
+ # Disabling for now
426
+ Lint/AmbiguousOperator:
427
+ Enabled: false
428
+
429
+ Lint/AmbiguousOperatorPrecedence:
430
+ Enabled: false
431
+
432
+ Lint/AmbiguousRange:
433
+ Enabled: false
434
+
435
+ # Disabling for now
436
+ Lint/AmbiguousRegexpLiteral:
437
+ Enabled: false
438
+
439
+ # Disabling for now
440
+ Lint/AssignmentInCondition:
441
+ Enabled: false
442
+ # AllowSafeAssignment: true
443
+
444
+ Lint/BigDecimalNew:
445
+ Enabled: true
446
+
447
+ # Disabling for now
448
+ Lint/BinaryOperatorWithIdenticalOperands:
449
+ Enabled: false
450
+
451
+ # Disabling for now
452
+ Lint/BooleanSymbol:
453
+ Enabled: false
454
+
455
+ Lint/CircularArgumentReference:
456
+ Enabled: true
457
+
458
+ # Disabling for now
459
+ Lint/ConstantDefinitionInBlock:
460
+ Enabled: false
461
+
462
+ Lint/ConstantResolution:
463
+ Enabled: false
464
+
465
+ Lint/Debugger:
466
+ Enabled: true
467
+
468
+ # Disabling for now
469
+ Lint/DeprecatedClassMethods:
470
+ Enabled: false
471
+
472
+ Lint/DeprecatedConstants:
473
+ Enabled: true
474
+
475
+ Lint/DeprecatedOpenSSLConstant:
476
+ Enabled: true
477
+
478
+ Lint/DisjunctiveAssignmentInConstructor:
479
+ Enabled: false
480
+
481
+ Lint/DuplicateBranch:
482
+ Enabled: false
483
+
484
+ # Disabling for now
485
+ Lint/DuplicateCaseCondition:
486
+ Enabled: false
487
+
488
+ Lint/DuplicateElsifCondition:
489
+ Enabled: true
490
+
491
+ Lint/DuplicateHashKey:
492
+ Enabled: true
493
+
494
+ # Disabling for now
495
+ Lint/DuplicateMethods:
496
+ Enabled: false
497
+
498
+ Lint/DuplicateRegexpCharacterClassElement:
499
+ Enabled: true
500
+
501
+ Lint/DuplicateRequire:
502
+ Enabled: true
503
+
504
+ Lint/DuplicateRescueException:
505
+ Enabled: true
506
+
507
+ Lint/EachWithObjectArgument:
508
+ Enabled: true
509
+
510
+ Lint/ElseLayout:
511
+ Enabled: true
512
+
513
+ Lint/EmptyBlock:
514
+ Enabled: false
515
+
516
+ Lint/EmptyClass:
517
+ Enabled: false
518
+
519
+ Lint/EmptyConditionalBody:
520
+ Enabled: false
521
+
522
+ # Disabling for now
523
+ Lint/EmptyEnsure:
524
+ Enabled: false
525
+ # AutoCorrect: true
526
+
527
+ Lint/EmptyExpression:
528
+ Enabled: true
529
+
530
+ Lint/EmptyFile:
531
+ Enabled: false
532
+
533
+ Lint/EmptyInPattern:
534
+ Enabled: false
535
+
536
+ Lint/EmptyInterpolation:
537
+ Enabled: true
538
+
539
+ Lint/EmptyWhen:
540
+ Enabled: true
541
+ AllowComments: true
542
+
543
+ # Disabling for now
544
+ Lint/EnsureReturn:
545
+ Enabled: false
546
+
547
+ Lint/ErbNewArguments:
548
+ Enabled: true
549
+
550
+ Lint/FlipFlop:
551
+ Enabled: true
552
+
553
+ # Disabling for now
554
+ Lint/FloatComparison:
555
+ Enabled: false
556
+
557
+ Lint/FloatOutOfRange:
558
+ Enabled: true
559
+
560
+ Lint/FormatParameterMismatch:
561
+ Enabled: true
562
+
563
+ Lint/HashCompareByIdentity:
564
+ Enabled: false
565
+
566
+ Lint/HeredocMethodCallPosition:
567
+ Enabled: false
568
+
569
+ Lint/IdentityComparison:
570
+ Enabled: true
571
+
572
+ Lint/ImplicitStringConcatenation:
573
+ Enabled: true
574
+
575
+ # Disabling for now
576
+ Lint/IneffectiveAccessModifier:
577
+ Enabled: false
578
+
579
+ # Disabling for now
580
+ Lint/InheritException:
581
+ Enabled: false
582
+ # EnforcedStyle: runtime_error
583
+
584
+ # Disabling for now
585
+ Lint/InterpolationCheck:
586
+ Enabled: false
587
+
588
+ Lint/LambdaWithoutLiteralBlock:
589
+ Enabled: false
590
+
591
+ Lint/LiteralAsCondition:
592
+ Enabled: true
593
+
594
+ Lint/LiteralInInterpolation:
595
+ Enabled: true
596
+
597
+ Lint/Loop:
598
+ Enabled: true
599
+
600
+ Lint/MissingCopEnableDirective:
601
+ Enabled: true
602
+ MaximumRangeSize: .inf
603
+
604
+ Lint/MissingSuper:
605
+ Enabled: false
606
+
607
+ Lint/MixedRegexpCaptureTypes:
608
+ Enabled: true
609
+
610
+ Lint/MultipleComparison:
611
+ Enabled: true
612
+
613
+ # Disabling for now
614
+ Lint/NestedMethodDefinition:
615
+ Enabled: false
616
+
617
+ Lint/NestedPercentLiteral:
618
+ Enabled: true
619
+
620
+ Lint/NextWithoutAccumulator:
621
+ Enabled: true
622
+
623
+ Lint/NoReturnInBeginEndBlocks:
624
+ Enabled: false
625
+
626
+ # Disabling for now
627
+ Lint/NonDeterministicRequireOrder:
628
+ Enabled: false
629
+
630
+ # Disabling for now
631
+ Lint/NonLocalExitFromIterator:
632
+ Enabled: false
633
+
634
+ Lint/NumberConversion:
635
+ Enabled: false
636
+
637
+ Lint/NumberedParameterAssignment:
638
+ Enabled: true
639
+
640
+ Lint/OrAssignmentToConstant:
641
+ Enabled: true
642
+
643
+ Lint/OrderedMagicComments:
644
+ Enabled: true
645
+
646
+ Lint/OutOfRangeRegexpRef:
647
+ Enabled: true
648
+
649
+ # Disabling for now
650
+ Lint/ParenthesesAsGroupedExpression:
651
+ Enabled: false
652
+
653
+ Lint/PercentStringArray:
654
+ Enabled: false
655
+
656
+ Lint/PercentSymbolArray:
657
+ Enabled: true
658
+
659
+ # Disabling for now
660
+ Lint/RaiseException:
661
+ Enabled: false
662
+
663
+ Lint/RandOne:
664
+ Enabled: true
665
+
666
+ Lint/RedundantCopDisableDirective:
667
+ Enabled: true
668
+
669
+ Lint/RedundantCopEnableDirective:
670
+ Enabled: false
671
+
672
+ Lint/RedundantDirGlobSort:
673
+ Enabled: false
674
+
675
+ # Disabling for now
676
+ Lint/RedundantRequireStatement:
677
+ Enabled: false
678
+
679
+ Lint/RedundantSafeNavigation:
680
+ Enabled: false
681
+
682
+ # Disabling for now
683
+ Lint/RedundantSplatExpansion:
684
+ Enabled: false
685
+
686
+ # Disabling for now
687
+ Lint/RedundantStringCoercion:
688
+ Enabled: false
689
+
690
+ Lint/RedundantWithIndex:
691
+ Enabled: true
692
+
693
+ Lint/RedundantWithObject:
694
+ Enabled: true
695
+
696
+ Lint/RegexpAsCondition:
697
+ Enabled: true
698
+
699
+ Lint/RequireParentheses:
700
+ Enabled: true
701
+
702
+ # Disabling for now
703
+ Lint/RescueException:
704
+ Enabled: false
705
+
706
+ Lint/RescueType:
707
+ Enabled: true
708
+
709
+ Lint/ReturnInVoidContext:
710
+ Enabled: true
711
+
712
+ Lint/SafeNavigationChain:
713
+ Enabled: true
714
+ AllowedMethods:
715
+ - present?
716
+ - blank?
717
+ - presence
718
+ - try
719
+ - try!
720
+
721
+ Lint/SafeNavigationConsistency:
722
+ Enabled: true
723
+ AllowedMethods:
724
+ - present?
725
+ - blank?
726
+ - presence
727
+ - try
728
+ - try!
729
+
730
+ Lint/SafeNavigationWithEmpty:
731
+ Enabled: true
732
+
733
+ Lint/ScriptPermission:
734
+ Enabled: false
735
+
736
+ Lint/SelfAssignment:
737
+ Enabled: true
738
+
739
+ Lint/SendWithMixinArgument:
740
+ Enabled: false
741
+
742
+ # Disabling for now
743
+ Lint/ShadowedArgument:
744
+ Enabled: false
745
+ # IgnoreImplicitReferences: false
746
+
747
+ # Disabling for now
748
+ Lint/ShadowedException:
749
+ Enabled: false
750
+
751
+ Lint/ShadowingOuterLocalVariable:
752
+ Enabled: false
753
+
754
+ Lint/StructNewOverride:
755
+ Enabled: false
756
+
757
+ Lint/SuppressedException:
758
+ Enabled: false
759
+
760
+ # Disabling for now
761
+ Lint/SymbolConversion:
762
+ Enabled: false
763
+
764
+ Lint/Syntax:
765
+ Enabled: true
766
+
767
+ Lint/ToEnumArguments:
768
+ Enabled: false
769
+
770
+ Lint/ToJSON:
771
+ Enabled: false
772
+
773
+ Lint/TopLevelReturnWithArgument:
774
+ Enabled: true
775
+
776
+ Lint/TrailingCommaInAttributeDeclaration:
777
+ Enabled: true
778
+
779
+ Lint/TripleQuotes:
780
+ Enabled: true
781
+
782
+ # Disabling for now
783
+ Lint/UnderscorePrefixedVariableName:
784
+ Enabled: false
785
+
786
+ Lint/UnexpectedBlockArity:
787
+ Enabled: false
788
+
789
+ # Disabling for now
790
+ Lint/UnifiedInteger:
791
+ Enabled: false
792
+
793
+ Lint/UnmodifiedReduceAccumulator:
794
+ Enabled: false
795
+
796
+ # Disabling for now
797
+ Lint/UnreachableCode:
798
+ Enabled: false
799
+
800
+ Lint/UnreachableLoop:
801
+ Enabled: false
802
+
803
+ Lint/UnusedBlockArgument:
804
+ Enabled: false
805
+
806
+ Lint/UnusedMethodArgument:
807
+ Enabled: false
808
+
809
+ Lint/UriEscapeUnescape:
810
+ Enabled: true
811
+
812
+ Lint/UriRegexp:
813
+ Enabled: true
814
+
815
+ Lint/UselessAccessModifier:
816
+ Enabled: false
817
+
818
+ # Disabling for now
819
+ Lint/UselessAssignment:
820
+ Enabled: false
821
+
822
+ Lint/UselessElseWithoutRescue:
823
+ Enabled: true
824
+
825
+ Lint/UselessMethodDefinition:
826
+ Enabled: false
827
+
828
+ Lint/UselessSetterCall:
829
+ Enabled: true
830
+
831
+ # Disabling for now
832
+ Lint/UselessTimes:
833
+ Enabled: false
834
+
835
+ # Disabling for now
836
+ Lint/Void:
837
+ Enabled: false
838
+ # CheckForMethodsWithNoSideEffects: false
839
+
840
+ Lint/IncompatibleIoSelectWithFiberScheduler:
841
+ Enabled: false
842
+
843
+ Lint/RequireRelativeSelfPath:
844
+ Enabled: true
845
+
846
+ Metrics/AbcSize:
847
+ Enabled: false
848
+
849
+ Metrics/BlockLength:
850
+ Enabled: false
851
+
852
+ Metrics/BlockNesting:
853
+ Enabled: false
854
+
855
+ Metrics/ClassLength:
856
+ Enabled: false
857
+
858
+ Metrics/CyclomaticComplexity:
859
+ Enabled: false
860
+
861
+ Metrics/MethodLength:
862
+ Enabled: false
863
+
864
+ Metrics/ModuleLength:
865
+ Enabled: false
866
+
867
+ Metrics/ParameterLists:
868
+ Enabled: false
869
+
870
+ Metrics/PerceivedComplexity:
871
+ Enabled: false
872
+
873
+ Migration/DepartmentName:
874
+ Enabled: true
875
+
876
+ Naming/AccessorMethodName:
877
+ Enabled: false
878
+
879
+ Naming/AsciiIdentifiers:
880
+ Enabled: false
881
+
882
+ # Disabling for now
883
+ Naming/BinaryOperatorParameterName:
884
+ Enabled: false
885
+
886
+ Naming/BlockParameterName:
887
+ Enabled: true
888
+ MinNameLength: 1
889
+ AllowNamesEndingInNumbers: true
890
+ AllowedNames: []
891
+ ForbiddenNames: []
892
+
893
+ Naming/ClassAndModuleCamelCase:
894
+ Enabled: true
895
+
896
+ Naming/ConstantName:
897
+ Enabled: true
898
+
899
+ Naming/FileName:
900
+ Enabled: false
901
+
902
+ Naming/HeredocDelimiterCase:
903
+ Enabled: true
904
+ EnforcedStyle: uppercase
905
+
906
+ Naming/HeredocDelimiterNaming:
907
+ Enabled: false
908
+
909
+ Naming/InclusiveLanguage:
910
+ Enabled: false
911
+
912
+ Naming/MemoizedInstanceVariableName:
913
+ Enabled: false
914
+
915
+ Naming/MethodName:
916
+ Enabled: false
917
+
918
+ Naming/MethodParameterName:
919
+ Enabled: false
920
+
921
+ Naming/PredicateName:
922
+ Enabled: false
923
+
924
+ Naming/RescuedExceptionsVariableName:
925
+ Enabled: false
926
+
927
+ Naming/VariableName:
928
+ Enabled: false
929
+ # EnforcedStyle: snake_case
930
+
931
+ Naming/VariableNumber:
932
+ Enabled: false
933
+
934
+ Performance/AncestorsInclude:
935
+ Enabled: false
936
+
937
+ Performance/ArraySemiInfiniteRangeSlice:
938
+ Enabled: false
939
+
940
+ Performance/BigDecimalWithNumericArgument:
941
+ Enabled: true
942
+
943
+ Performance/BindCall:
944
+ Enabled: true
945
+
946
+ # Disabling for now
947
+ Performance/BlockGivenWithExplicitBlock:
948
+ Enabled: false
949
+
950
+ # Disabling for now
951
+ Performance/Caller:
952
+ Enabled: false
953
+
954
+ Performance/CaseWhenSplat:
955
+ Enabled: false
956
+
957
+ Performance/Casecmp:
958
+ Enabled: false
959
+
960
+ Performance/ChainArrayAllocation:
961
+ Enabled: false
962
+
963
+ Performance/CollectionLiteralInLoop:
964
+ Enabled: false
965
+
966
+ Performance/CompareWithBlock:
967
+ Enabled: true
968
+
969
+ # Disabling for now
970
+ Performance/ConstantRegexp:
971
+ Enabled: false
972
+
973
+ # Disabling for now
974
+ Performance/Count:
975
+ Enabled: false
976
+
977
+ Performance/DeletePrefix:
978
+ Enabled: false
979
+
980
+ Performance/DeleteSuffix:
981
+ Enabled: false
982
+
983
+ # Disabling for now
984
+ Performance/Detect:
985
+ Enabled: false
986
+
987
+ # Disabling for now
988
+ Performance/DoubleStartEndWith:
989
+ Enabled: false
990
+ # IncludeActiveSupportAliases: false
991
+
992
+ Performance/EndWith:
993
+ Enabled: true
994
+
995
+ Performance/FixedSize:
996
+ Enabled: true
997
+
998
+ Performance/FlatMap:
999
+ Enabled: true
1000
+ EnabledForFlattenWithoutParams: false
1001
+
1002
+ # Disabling for now
1003
+ Performance/InefficientHashSearch:
1004
+ Enabled: false
1005
+ # Safe: false
1006
+
1007
+ Performance/IoReadlines:
1008
+ Enabled: false
1009
+
1010
+ Performance/MapCompact:
1011
+ Enabled: false
1012
+
1013
+ Performance/MethodObjectAsBlock:
1014
+ Enabled: false
1015
+
1016
+ Performance/OpenStruct:
1017
+ Enabled: false
1018
+
1019
+ Performance/RangeInclude:
1020
+ Enabled: true
1021
+ Safe: false
1022
+
1023
+ Performance/RedundantBlockCall:
1024
+ Enabled: false
1025
+
1026
+ Performance/RedundantEqualityComparisonBlock:
1027
+ Enabled: false
1028
+
1029
+ # Disabling for now
1030
+ Performance/RedundantMatch:
1031
+ Enabled: false
1032
+
1033
+ # Disabling for now
1034
+ Performance/RedundantMerge:
1035
+ Enabled: false
1036
+ # MaxKeyValuePairs: 2
1037
+
1038
+ Performance/RedundantSortBlock:
1039
+ Enabled: true
1040
+
1041
+ Performance/RedundantSplitRegexpArgument:
1042
+ Enabled: true
1043
+
1044
+ Performance/RedundantStringChars:
1045
+ Enabled: true
1046
+
1047
+ # Disabling for now
1048
+ Performance/RegexpMatch:
1049
+ Enabled: false
1050
+
1051
+ # Disabling for now
1052
+ Performance/ReverseEach:
1053
+ Enabled: false
1054
+
1055
+ Performance/ReverseFirst:
1056
+ Enabled: true
1057
+
1058
+ Performance/SelectMap:
1059
+ Enabled: false
1060
+
1061
+ Performance/Size:
1062
+ Enabled: true
1063
+
1064
+ Performance/SortReverse:
1065
+ Enabled: true
1066
+
1067
+ Performance/Squeeze:
1068
+ Enabled: true
1069
+
1070
+ # Disabling for now
1071
+ Performance/StartWith:
1072
+ Enabled: false
1073
+
1074
+ Performance/StringInclude:
1075
+ Enabled: false
1076
+
1077
+ # Disabling for now
1078
+ Performance/StringReplacement:
1079
+ Enabled: false
1080
+
1081
+ Performance/Sum:
1082
+ Enabled: false
1083
+
1084
+ Performance/TimesMap:
1085
+ Enabled: false
1086
+
1087
+ # Disabling for now
1088
+ Performance/UnfreezeString:
1089
+ Enabled: false
1090
+
1091
+ Performance/UriDefaultParser:
1092
+ Enabled: true
1093
+
1094
+ # Disabling for now
1095
+ Security/Eval:
1096
+ Enabled: false
1097
+
1098
+ # Disabling for now
1099
+ Security/JSONLoad:
1100
+ Enabled: false
1101
+ # AutoCorrect: false
1102
+ # SafeAutoCorrect: false
1103
+
1104
+ Security/MarshalLoad:
1105
+ Enabled: false
1106
+
1107
+ Security/Open:
1108
+ Enabled: true
1109
+ Safe: false
1110
+
1111
+ # Disabling for now
1112
+ Security/YAMLLoad:
1113
+ Enabled: false
1114
+ # SafeAutoCorrect: false
1115
+
1116
+ Security/IoMethods:
1117
+ Enabled: false
1118
+ Safe: false
1119
+
1120
+ # raised unrecognized cop or department
1121
+ # Standard/BlockSingleLineBraces:
1122
+ # Enabled: true
1123
+
1124
+ Style/AccessModifierDeclarations:
1125
+ Enabled: false
1126
+
1127
+ Style/AccessorGrouping:
1128
+ Enabled: false
1129
+
1130
+ # Disabling for now
1131
+ Style/Alias:
1132
+ Enabled: false
1133
+ # EnforcedStyle: prefer_alias_method
1134
+
1135
+ # Disabling for now
1136
+ Style/AndOr:
1137
+ Enabled: false
1138
+
1139
+ Style/ArgumentsForwarding:
1140
+ Enabled: true
1141
+ AllowOnlyRestArgument: true
1142
+
1143
+ Style/ArrayCoercion:
1144
+ Enabled: false
1145
+
1146
+ Style/ArrayJoin:
1147
+ Enabled: true
1148
+
1149
+ Style/AsciiComments:
1150
+ Enabled: false
1151
+
1152
+ Style/Attr:
1153
+ Enabled: true
1154
+
1155
+ Style/AutoResourceCleanup:
1156
+ Enabled: false
1157
+
1158
+ # Disabling for now
1159
+ Style/BarePercentLiterals:
1160
+ Enabled: false
1161
+ EnforcedStyle: bare_percent
1162
+
1163
+ Style/BeginBlock:
1164
+ Enabled: true
1165
+
1166
+ Style/BisectedAttrAccessor:
1167
+ Enabled: false
1168
+
1169
+ Style/BlockComments:
1170
+ Enabled: true
1171
+
1172
+ Style/BlockDelimiters:
1173
+ Enabled: false
1174
+
1175
+ Style/CaseEquality:
1176
+ Enabled: false
1177
+
1178
+ Style/CaseLikeIf:
1179
+ Enabled: false
1180
+
1181
+ Style/CharacterLiteral:
1182
+ Enabled: true
1183
+
1184
+ Style/ClassAndModuleChildren:
1185
+ Enabled: false
1186
+
1187
+ # Disabling for now
1188
+ Style/ClassCheck:
1189
+ Enabled: false
1190
+ # EnforcedStyle: is_a?
1191
+
1192
+ # Disabling for now
1193
+ Style/ClassEqualityComparison:
1194
+ Enabled: false
1195
+
1196
+ Style/ClassMethods:
1197
+ Enabled: true
1198
+
1199
+ Style/ClassMethodsDefinitions:
1200
+ Enabled: false
1201
+
1202
+ Style/ClassVars:
1203
+ Enabled: false
1204
+
1205
+ Style/CollectionCompact:
1206
+ Enabled: false
1207
+
1208
+ Style/CollectionMethods:
1209
+ Enabled: false
1210
+
1211
+ # Disabling for now
1212
+ Style/ColonMethodCall:
1213
+ Enabled: false
1214
+
1215
+ Style/ColonMethodDefinition:
1216
+ Enabled: true
1217
+
1218
+ Style/CombinableLoops:
1219
+ Enabled: false
1220
+
1221
+ # Disabling for now
1222
+ Style/CommandLiteral:
1223
+ Enabled: false
1224
+ # EnforcedStyle: mixed
1225
+ # AllowInnerBackticks: false
1226
+
1227
+ Style/CommentAnnotation:
1228
+ Enabled: false
1229
+
1230
+ Style/CommentedKeyword:
1231
+ Enabled: false
1232
+
1233
+ # Disabling for now
1234
+ Style/ConditionalAssignment:
1235
+ Enabled: false
1236
+ # EnforcedStyle: assign_to_condition
1237
+ # SingleLineConditionsOnly: true
1238
+ # IncludeTernaryExpressions: true
1239
+
1240
+ Style/ConstantVisibility:
1241
+ Enabled: false
1242
+
1243
+ Style/Copyright:
1244
+ Enabled: false
1245
+
1246
+ Style/DateTime:
1247
+ Enabled: false
1248
+
1249
+ Style/DefWithParentheses:
1250
+ Enabled: true
1251
+
1252
+ # Disabling for now
1253
+ Style/Dir:
1254
+ Enabled: false
1255
+
1256
+ Style/DisableCopsWithinSourceCodeDirective:
1257
+ Enabled: false
1258
+
1259
+ Style/DocumentDynamicEvalDefinition:
1260
+ Enabled: false
1261
+
1262
+ Style/Documentation:
1263
+ Enabled: false
1264
+
1265
+ Style/DocumentationMethod:
1266
+ Enabled: false
1267
+
1268
+ Style/DoubleCopDisableDirective:
1269
+ Enabled: false
1270
+
1271
+ Style/DoubleNegation:
1272
+ Enabled: false
1273
+
1274
+ Style/EachForSimpleLoop:
1275
+ Enabled: true
1276
+
1277
+ # Disabling for now
1278
+ Style/EachWithObject:
1279
+ Enabled: false
1280
+
1281
+ Style/EmptyBlockParameter:
1282
+ Enabled: true
1283
+
1284
+ # Disabling for now
1285
+ Style/EmptyCaseCondition:
1286
+ Enabled: false
1287
+
1288
+ Style/EmptyElse:
1289
+ Enabled: true
1290
+ EnforcedStyle: both
1291
+
1292
+ # Disabling for now
1293
+ Style/EmptyLambdaParameter:
1294
+ Enabled: false
1295
+
1296
+ # Disabling for now
1297
+ Style/EmptyLiteral:
1298
+ Enabled: false
1299
+
1300
+ # Disabling for now
1301
+ Style/EmptyMethod:
1302
+ Enabled: false
1303
+ # EnforcedStyle: expanded
1304
+
1305
+ # Disabling for now
1306
+ Style/Encoding:
1307
+ Enabled: false
1308
+
1309
+ Style/EndBlock:
1310
+ Enabled: true
1311
+ AutoCorrect: true
1312
+
1313
+ Style/EndlessMethod:
1314
+ Enabled: false
1315
+
1316
+ # Disabling for now
1317
+ Style/EvalWithLocation:
1318
+ Enabled: false
1319
+
1320
+ Style/EvenOdd:
1321
+ Enabled: false
1322
+
1323
+ Style/ExpandPathArguments:
1324
+ Enabled: false
1325
+
1326
+ Style/ExplicitBlockArgument:
1327
+ Enabled: false
1328
+
1329
+ Style/ExponentialNotation:
1330
+ Enabled: false
1331
+
1332
+ Style/FloatDivision:
1333
+ Enabled: false
1334
+
1335
+ # Disabling for now
1336
+ Style/For:
1337
+ Enabled: false
1338
+ # EnforcedStyle: each
1339
+
1340
+ Style/FormatString:
1341
+ Enabled: false
1342
+
1343
+ Style/FormatStringToken:
1344
+ Enabled: false
1345
+
1346
+ Style/FrozenStringLiteralComment:
1347
+ Enabled: false
1348
+
1349
+ # Disabling for now
1350
+ Style/GlobalStdStream:
1351
+ Enabled: false
1352
+
1353
+ # Disabling for now
1354
+ Style/GlobalVars:
1355
+ Enabled: false
1356
+ # AllowedVariables: []
1357
+
1358
+ Style/GuardClause:
1359
+ Enabled: false
1360
+
1361
+ Style/HashAsLastArrayItem:
1362
+ Enabled: false
1363
+
1364
+ # Disabling for now
1365
+ Style/HashConversion:
1366
+ Enabled: false
1367
+
1368
+ Style/HashEachMethods:
1369
+ Enabled: false
1370
+
1371
+ Style/HashExcept:
1372
+ Enabled: true
1373
+
1374
+ Style/HashLikeCase:
1375
+ Enabled: false
1376
+
1377
+ # Documentation: https://docs.rubocop.org/rubocop/cops_style.html#stylehashsyntax
1378
+ # I believe we want either hash_rockets or no_mixed_keys
1379
+ # Disabling for now
1380
+ Style/HashSyntax:
1381
+ Enabled: false
1382
+ # EnforcedStyle: ruby19_no_mixed_keys
1383
+
1384
+ Style/HashTransformKeys:
1385
+ Enabled: false
1386
+
1387
+ Style/HashTransformValues:
1388
+ Enabled: false
1389
+
1390
+ # Disabling for now
1391
+ Style/IdenticalConditionalBranches:
1392
+ Enabled: false
1393
+
1394
+ # Disabling for now
1395
+ Style/IfInsideElse:
1396
+ Enabled: false
1397
+
1398
+ Style/IfUnlessModifier:
1399
+ Enabled: false
1400
+
1401
+ Style/IfUnlessModifierOfIfUnless:
1402
+ Enabled: true
1403
+
1404
+ Style/IfWithBooleanLiteralBranches:
1405
+ Enabled: true
1406
+
1407
+ Style/IfWithSemicolon:
1408
+ Enabled: true
1409
+
1410
+ Style/ImplicitRuntimeError:
1411
+ Enabled: false
1412
+
1413
+ Style/InPatternThen:
1414
+ Enabled: false
1415
+
1416
+ # Disabling for now
1417
+ Style/InfiniteLoop:
1418
+ Enabled: false
1419
+
1420
+ Style/InlineComment:
1421
+ Enabled: false
1422
+
1423
+ Style/InverseMethods:
1424
+ Enabled: false
1425
+
1426
+ Style/IpAddresses:
1427
+ Enabled: false
1428
+
1429
+ # Disabling for now
1430
+ Style/KeywordParametersOrder:
1431
+ Enabled: false
1432
+
1433
+ Style/Lambda:
1434
+ Enabled: false
1435
+
1436
+ Style/LambdaCall:
1437
+ Enabled: true
1438
+ EnforcedStyle: call
1439
+
1440
+ # Disabling for now
1441
+ Style/LineEndConcatenation:
1442
+ Enabled: false
1443
+ # SafeAutoCorrect: false
1444
+
1445
+ Style/MethodCallWithArgsParentheses:
1446
+ Enabled: false
1447
+
1448
+ # Disabling for now
1449
+ Style/MethodCallWithoutArgsParentheses:
1450
+ Enabled: false
1451
+ IgnoredMethods: []
1452
+
1453
+ Style/MethodCalledOnDoEndBlock:
1454
+ Enabled: false
1455
+
1456
+ Style/MethodDefParentheses:
1457
+ Enabled: false
1458
+
1459
+ Style/MinMax:
1460
+ Enabled: false
1461
+
1462
+ Style/MissingElse:
1463
+ Enabled: false
1464
+
1465
+ # Disabling for now
1466
+ Style/MissingRespondToMissing:
1467
+ Enabled: false
1468
+
1469
+ # Disabling for now
1470
+ Style/MixinGrouping:
1471
+ Enabled: false
1472
+ # EnforcedStyle: separated
1473
+
1474
+ # Disabling for now
1475
+ Style/MixinUsage:
1476
+ Enabled: false
1477
+
1478
+ Style/ModuleFunction:
1479
+ Enabled: false
1480
+
1481
+ Style/MultilineBlockChain:
1482
+ Enabled: false
1483
+
1484
+ Style/MultilineIfModifier:
1485
+ Enabled: true
1486
+
1487
+ Style/MultilineIfThen:
1488
+ Enabled: true
1489
+
1490
+ Style/MultilineInPatternThen:
1491
+ Enabled: false
1492
+
1493
+ # Disabling for now
1494
+ Style/MultilineMemoization:
1495
+ Enabled: false
1496
+ # EnforcedStyle: keyword
1497
+
1498
+ Style/MultilineMethodSignature:
1499
+ Enabled: false
1500
+
1501
+ Style/MultilineTernaryOperator:
1502
+ Enabled: false
1503
+
1504
+ Style/MultilineWhenThen:
1505
+ Enabled: true
1506
+
1507
+ Style/MultipleComparison:
1508
+ Enabled: false
1509
+
1510
+ Style/MutableConstant:
1511
+ Enabled: false
1512
+
1513
+ Style/NegatedIf:
1514
+ Enabled: false
1515
+
1516
+ Style/NegatedIfElseCondition:
1517
+ Enabled: false
1518
+
1519
+ Style/NegatedUnless:
1520
+ Enabled: false
1521
+
1522
+ # Disabling for now
1523
+ Style/NegatedWhile:
1524
+ Enabled: false
1525
+
1526
+ Style/NestedModifier:
1527
+ Enabled: true
1528
+
1529
+ # Disabling for now
1530
+ Style/NestedParenthesizedCalls:
1531
+ Enabled: false
1532
+ # AllowedMethods:
1533
+ # - be
1534
+ # - be_a
1535
+ # - be_an
1536
+ # - be_between
1537
+ # - be_falsey
1538
+ # - be_kind_of
1539
+ # - be_instance_of
1540
+ # - be_truthy
1541
+ # - be_within
1542
+ # - eq
1543
+ # - eql
1544
+ # - end_with
1545
+ # - include
1546
+ # - match
1547
+ # - raise_error
1548
+ # - respond_to
1549
+ # - start_with
1550
+
1551
+ Style/NestedTernaryOperator:
1552
+ Enabled: true
1553
+
1554
+ Style/Next:
1555
+ Enabled: false
1556
+
1557
+ # Disabling for now
1558
+ Style/NilComparison:
1559
+ Enabled: false
1560
+ # EnforcedStyle: predicate
1561
+
1562
+ # Disabling for now
1563
+ Style/NilLambda:
1564
+ Enabled: false
1565
+
1566
+ # Disabling for now
1567
+ Style/NonNilCheck:
1568
+ Enabled: false
1569
+ # IncludeSemanticChanges: false
1570
+
1571
+ Style/Not:
1572
+ Enabled: true
1573
+
1574
+ # Disabling for now
1575
+ Style/NumericLiteralPrefix:
1576
+ Enabled: false
1577
+ # EnforcedOctalStyle: zero_with_o
1578
+
1579
+ Style/NumericLiterals:
1580
+ Enabled: false
1581
+
1582
+ Style/NumericPredicate:
1583
+ Enabled: false
1584
+
1585
+ Style/OneLineConditional:
1586
+ Enabled: true
1587
+
1588
+ Style/OptionHash:
1589
+ Enabled: false
1590
+
1591
+ Style/OptionalArguments:
1592
+ Enabled: true
1593
+
1594
+ Style/OptionalBooleanParameter:
1595
+ Enabled: false
1596
+
1597
+ # Disabling for now
1598
+ Style/OrAssignment:
1599
+ Enabled: false
1600
+
1601
+ Style/ParallelAssignment:
1602
+ Enabled: false
1603
+
1604
+ Style/ParenthesesAroundCondition:
1605
+ Enabled: true
1606
+ AllowSafeAssignment: true
1607
+ AllowInMultilineConditions: false
1608
+
1609
+ Style/PercentLiteralDelimiters:
1610
+ Enabled: true
1611
+ PreferredDelimiters:
1612
+ default: ()
1613
+ '%i': '[]'
1614
+ '%I': '[]'
1615
+ '%r': '{}'
1616
+ '%w': '[]'
1617
+ '%W': '[]'
1618
+
1619
+ Style/PercentQLiterals:
1620
+ Enabled: false
1621
+
1622
+ Style/PerlBackrefs:
1623
+ Enabled: false
1624
+
1625
+ Style/PreferredHashMethods:
1626
+ Enabled: false
1627
+
1628
+ # Disabling for now
1629
+ Style/Proc:
1630
+ Enabled: false
1631
+
1632
+ Style/QuotedSymbols:
1633
+ Enabled: false
1634
+
1635
+ Style/RaiseArgs:
1636
+ Enabled: false
1637
+
1638
+ Style/RandomWithOffset:
1639
+ Enabled: true
1640
+
1641
+ Style/RedundantArgument:
1642
+ Enabled: false
1643
+
1644
+ # Disabling for now
1645
+ Style/RedundantAssignment:
1646
+ Enabled: false
1647
+
1648
+ # Disabling for now
1649
+ Style/RedundantBegin:
1650
+ Enabled: false
1651
+
1652
+ Style/RedundantCapitalW:
1653
+ Enabled: false
1654
+
1655
+ Style/RedundantCondition:
1656
+ Enabled: true
1657
+
1658
+ Style/RedundantConditional:
1659
+ Enabled: true
1660
+
1661
+ Style/RedundantException:
1662
+ Enabled: true
1663
+
1664
+ Style/RedundantFetchBlock:
1665
+ Enabled: true
1666
+
1667
+ Style/RedundantFileExtensionInRequire:
1668
+ Enabled: true
1669
+
1670
+ # Disabling for now
1671
+ Style/RedundantFreeze:
1672
+ Enabled: false
1673
+
1674
+ # Disabling for now
1675
+ Style/RedundantInterpolation:
1676
+ Enabled: false
1677
+
1678
+ # Disabling for now
1679
+ Style/RedundantParentheses:
1680
+ Enabled: false
1681
+
1682
+ # Disabling for now
1683
+ Style/RedundantPercentQ:
1684
+ Enabled: false
1685
+
1686
+ Style/RedundantRegexpCharacterClass:
1687
+ Enabled: true
1688
+
1689
+ # Disabling for now
1690
+ Style/RedundantRegexpEscape:
1691
+ Enabled: false
1692
+
1693
+ # Disabling for now
1694
+ Style/RedundantReturn:
1695
+ Enabled: false
1696
+ # AllowMultipleReturnValues: false
1697
+
1698
+ # Disabling for now
1699
+ Style/RedundantSelf:
1700
+ Enabled: false
1701
+
1702
+ Style/RedundantSelfAssignment:
1703
+ Enabled: false
1704
+
1705
+ Style/RedundantSelfAssignmentBranch:
1706
+ Enabled: false
1707
+
1708
+ # Disabling for now
1709
+ Style/RedundantSort:
1710
+ Enabled: false
1711
+
1712
+ Style/RedundantSortBy:
1713
+ Enabled: true
1714
+
1715
+ Style/RegexpLiteral:
1716
+ Enabled: false
1717
+
1718
+ # Disabling for now
1719
+ Style/RescueModifier:
1720
+ Enabled: false
1721
+
1722
+ # Disabling for now
1723
+ Style/RescueStandardError:
1724
+ Enabled: false
1725
+ # EnforcedStyle: implicit
1726
+
1727
+ Style/ReturnNil:
1728
+ Enabled: false
1729
+
1730
+ # Can't use, not available in Ruby 2.2
1731
+ Style/SafeNavigation:
1732
+ Enabled: false
1733
+ # ConvertCodeThatCanStartToReturnNil: false
1734
+ # AllowedMethods:
1735
+ # - present?
1736
+ # - blank?
1737
+ # - presence
1738
+ # - try
1739
+ # - try!
1740
+
1741
+ Style/Sample:
1742
+ Enabled: true
1743
+
1744
+ Style/SelfAssignment:
1745
+ Enabled: true
1746
+
1747
+ # Disabling for now
1748
+ Style/Semicolon:
1749
+ Enabled: false
1750
+ # AllowAsExpressionSeparator: false
1751
+
1752
+ Style/Send:
1753
+ Enabled: false
1754
+
1755
+ Style/SignalException:
1756
+ Enabled: false
1757
+
1758
+ Style/SingleArgumentDig:
1759
+ Enabled: false
1760
+
1761
+ Style/SingleLineBlockParams:
1762
+ Enabled: false
1763
+
1764
+ # Disabling for now
1765
+ Style/SingleLineMethods:
1766
+ Enabled: false
1767
+ # AllowIfMethodIsEmpty: false
1768
+
1769
+ Style/SlicingWithRange:
1770
+ Enabled: true
1771
+
1772
+ Style/SoleNestedConditional:
1773
+ Enabled: false
1774
+
1775
+ Style/SpecialGlobalVars:
1776
+ Enabled: false
1777
+
1778
+ Style/StabbyLambdaParentheses:
1779
+ Enabled: true
1780
+ EnforcedStyle: require_parentheses
1781
+
1782
+ Style/StaticClass:
1783
+ Enabled: false
1784
+
1785
+ # Do we want this one? Use warn instead of STDERR.puts
1786
+ Style/StderrPuts:
1787
+ Enabled: false
1788
+
1789
+ Style/StringChars:
1790
+ Enabled: true
1791
+
1792
+ Style/StringConcatenation:
1793
+ Enabled: false
1794
+
1795
+ Style/StringHashKeys:
1796
+ Enabled: false
1797
+
1798
+ # Disabling for now
1799
+ Style/StringLiterals:
1800
+ Enabled: false
1801
+ # EnforcedStyle: double_quotes
1802
+ # ConsistentQuotesInMultiline: false
1803
+
1804
+ # Disabling for now
1805
+ Style/StringLiteralsInInterpolation:
1806
+ Enabled: false
1807
+ # EnforcedStyle: double_quotes
1808
+
1809
+ Style/StringMethods:
1810
+ Enabled: false
1811
+
1812
+ Style/Strip:
1813
+ Enabled: true
1814
+
1815
+ Style/StructInheritance:
1816
+ Enabled: false
1817
+
1818
+ Style/SwapValues:
1819
+ Enabled: false
1820
+
1821
+ Style/SymbolArray:
1822
+ Enabled: false
1823
+
1824
+ # Disabling for now
1825
+ Style/SymbolLiteral:
1826
+ Enabled: false
1827
+
1828
+ Style/SymbolProc:
1829
+ Enabled: false
1830
+
1831
+ Style/TernaryParentheses:
1832
+ Enabled: true
1833
+ EnforcedStyle: require_no_parentheses
1834
+ AllowSafeAssignment: true
1835
+
1836
+ Style/TopLevelMethodDefinition:
1837
+ Enabled: false
1838
+
1839
+ Style/TrailingBodyOnClass:
1840
+ Enabled: true
1841
+
1842
+ Style/TrailingBodyOnMethodDefinition:
1843
+ Enabled: true
1844
+
1845
+ Style/TrailingBodyOnModule:
1846
+ Enabled: true
1847
+
1848
+ Style/TrailingCommaInArguments:
1849
+ Enabled: true
1850
+ EnforcedStyleForMultiline: no_comma
1851
+
1852
+ Style/TrailingCommaInArrayLiteral:
1853
+ Enabled: true
1854
+ EnforcedStyleForMultiline: no_comma
1855
+
1856
+ Style/TrailingCommaInBlockArgs:
1857
+ Enabled: true
1858
+
1859
+ Style/TrailingCommaInHashLiteral:
1860
+ Enabled: true
1861
+ EnforcedStyleForMultiline: no_comma
1862
+
1863
+ Style/TrailingMethodEndStatement:
1864
+ Enabled: true
1865
+
1866
+ Style/TrailingUnderscoreVariable:
1867
+ Enabled: false
1868
+
1869
+ # Do we want? Performance test first
1870
+ Style/TrivialAccessors:
1871
+ Enabled: false
1872
+ # ExactNameMatch: true
1873
+ # AllowPredicates: true
1874
+ # AllowDSLWriters: false
1875
+ # IgnoreClassMethods: false
1876
+ # AllowedMethods:
1877
+ # - to_ary
1878
+ # - to_a
1879
+ # - to_c
1880
+ # - to_enum
1881
+ # - to_h
1882
+ # - to_hash
1883
+ # - to_i
1884
+ # - to_int
1885
+ # - to_io
1886
+ # - to_open
1887
+ # - to_path
1888
+ # - to_proc
1889
+ # - to_r
1890
+ # - to_regexp
1891
+ # - to_str
1892
+ # - to_s
1893
+ # - to_sym
1894
+
1895
+ Style/UnlessElse:
1896
+ Enabled: true
1897
+
1898
+ Style/UnlessLogicalOperators:
1899
+ Enabled: false
1900
+
1901
+ # Disabling for now
1902
+ Style/UnpackFirst:
1903
+ Enabled: false
1904
+
1905
+ # Disabling for now
1906
+ Style/VariableInterpolation:
1907
+ Enabled: false
1908
+
1909
+ Style/WhenThen:
1910
+ Enabled: true
1911
+
1912
+ Style/WhileUntilDo:
1913
+ Enabled: true
1914
+
1915
+ Style/WhileUntilModifier:
1916
+ Enabled: false
1917
+
1918
+ Style/WordArray:
1919
+ Enabled: false
1920
+
1921
+ # Disabling for now
1922
+ Style/YodaCondition:
1923
+ Enabled: false
1924
+ # EnforcedStyle: forbid_for_all_comparison_operators
1925
+
1926
+ Style/ZeroLengthPredicate:
1927
+ Enabled: false
1928
+
1929
+ Style/NumberedParameters:
1930
+ Enabled: false
1931
+
1932
+ Style/NumberedParametersLimit:
1933
+ Enabled: false
1934
+
1935
+ Style/SelectByRegexp:
1936
+ Enabled: false