rubocop-rails.yml in gitlab-styles-3.1.0 vs rubocop-rails.yml in gitlab-styles-3.2.0
- old
+ new
@@ -37,9 +37,12 @@
- 'lib/backup/**/*'
# Prefer `find_by` over `where.first`.
Rails/FindBy:
Enabled: true
+ Include:
+ - 'app/**/*.rb'
+ - 'lib/**/*.rb'
# Prefer `all.find_each` over `all.find`.
Rails/FindEach:
Enabled: true