# 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/NotNullColumn: Enabled: false Rails/ReversibleMigration: Enabled: false Style/HashEachMethods: Enabled: true Style/HashTransformKeys: Enabled: true Style/HashTransformValues: Enabled: true Rails/ApplicationController: Exclude: - app/controllers/api/api_controller.rb Rails/SkipsModelValidations: Exclude: - db/migrate/*.rb Rails/Output: Exclude: - db/seeds.rb Style/Documentation: Enabled: false Metrics/MethodLength: Exclude: - db/migrate/*.rb - config/**/*.rb Metrics/AbcSize: Exclude: - db/migrate/*.rb Metrics/BlockLength: Exclude: - "*.gemspec" - spec/**/*.rb - lib/tasks/*.rake - config/**/*.rb - db/**/*.rb Layout/LineLength: Exclude: - db/migrate/*.rb Rails/FilePath: EnforcedStyle: arguments