aaf-rubocop.yml in aaf-gumboot-2.2.0 vs aaf-rubocop.yml in aaf-gumboot-2.4.0

- old
+ new

@@ -1,23 +1,25 @@ # https://rubocop.readthedocs.io/en/latest/configuration/#inheritance # If you override a setting in a project's local .rubocop.yml file # you must add the pre-existing exceptions found here as well. +require: rubocop-rails AllCops: Exclude: - db/schema.rb -Rails: - Enabled: true - Rails/NotNullColumn: Enabled: false Rails/ReversibleMigration: Enabled: false +Rails/ApplicationController: + Exclude: + - app/controllers/api/api_controller.rb + Rails/SkipsModelValidations: Exclude: - db/migrate/*.rb Rails/Output: @@ -42,8 +44,11 @@ - spec/**/*.rb - lib/tasks/*.rake - config/**/*.rb - db/**/*.rb -Metrics/LineLength: +Layout/LineLength: Exclude: - db/migrate/*.rb + +Rails/FilePath: + EnforcedStyle: arguments