rubocop-rails.yml in gitlab-styles-6.2.1 vs rubocop-rails.yml in gitlab-styles-6.3.0
- old
+ new
@@ -1,8 +1,9 @@
---
require:
- rubocop-rails
+ - ./lib/gitlab/styles/rubocop
# Enables Rails cops.
Rails:
Enabled: true
@@ -183,6 +184,10 @@
Enabled: true
# Identifies places where manually constructed SQL in where can be replaced with where.not(...).
# https://docs.rubocop.org/rubocop-rails/2.8/cops_rails.html#railswherenot
Rails/WhereNot:
+ Enabled: true
+
+# Bans the use of `include ActionView::Helpers::UrlHelper`.
+Rails/IncludeUrlHelper:
Enabled: true