diff --git a/.rubocop_styleguide.yml b/.rubocop_styleguide.yml index 01067a59ce..1af15bd7f4 100644 --- a/.rubocop_styleguide.yml +++ b/.rubocop_styleguide.yml @@ -5,7 +5,7 @@ # rubocop locally, the default configuration file `.rubocop.yml` loads # our "todo lists" to ignore all current violations. AllCops: - TargetRailsVersion: 3.2 + TargetRailsVersion: 4.0 Exclude: - 'bin/**/*' - 'db/**/*' @@ -20,9 +20,6 @@ AllCops: # # Cop settings that have been agreed upon by the OFN community -Rails: - Enabled: true - Style/Documentation: Enabled: false @@ -61,24 +58,6 @@ Lint/UselessAssignment: Exclude: - spec/**/* -# AFAIK, there is no good alternative to dynamic matchers until we upgrade -# to Rails 4 and can use #find_by. If there is a better approach, let's do it. -Rails/DynamicFindBy: - Enabled: false - -# Same as above, #find_by is not available until Rails 4 -Rails/FindBy: - Enabled: false - -# Same as above, #update! is not available until Rails 4 -Rails/ActiveRecordAliases: - Enabled: false - -# This should be the programmer's discretion, perhaps we should review all of -# the uses of it an make specific exceptions though. -Rails/SkipsModelValidations: - Enabled: false - ## Relaxed.Ruby.Style SETTINGS # # These styles are a starting point for the conversation around conventions