rubocop-rails.yml in gitlab-styles-10.1.0 vs rubocop-rails.yml in gitlab-styles-11.0.0
- old
+ new
@@ -176,9 +176,14 @@
# Identifies places where render text: can be replaced with render plain:.
# https://docs.rubocop.org/rubocop-rails/2.8/cops_rails.html#railsrenderplaintext
Rails/RenderPlainText:
Enabled: true
+# Checks for the usage of obsolete `require_dependency` method for Rails
+# applications running in Zeitwerk mode.
+Rails/RequireDependency:
+ Enabled: true
+
# Checks the arguments of ActiveRecord scopes.
Rails/ScopeArgs:
Enabled: true
# Enforces that short forms of I18n methods are used: t instead of translate and l instead of localize.