require: rubocop-rails Rails/ActionFilter: Enabled: true Rails/ActiveRecordAliases: Enabled: true Rails/ActiveRecordCallbacksOrder: Enabled: true Rails/ActiveRecordOverride: Enabled: true Rails/ActiveSupportAliases: Enabled: true Rails/AddColumnIndex: Enabled: true Rails/AfterCommitOverride: Enabled: true Rails/ApplicationController: Enabled: true Rails/ApplicationJob: Enabled: true Rails/ApplicationMailer: Enabled: true Rails/ApplicationRecord: Enabled: true Rails/ArelStar: Enabled: true Rails/AttributeDefaultBlockValue: Enabled: true Rails/BelongsTo: Enabled: true Rails/Blank: Enabled: true NilOrEmpty: false NotPresent: true UnlessPresent: true Rails/BulkChangeTable: Enabled: true Rails/CreateTableWithTimestamps: Enabled: true Rails/Date: Enabled: true Rails/DelegateAllowBlank: Enabled: true Rails/DurationArithmetic: Enabled: true Rails/DynamicFindBy: Enabled: true Rails/EnumHash: Enabled: true Rails/EnumUniqueness: Enabled: true Rails/EnvironmentComparison: Enabled: true Rails/Exit: Enabled: true Rails/ExpandedDateRange: Enabled: true Rails/FindBy: Enabled: true Rails/FindById: Enabled: true Rails/FindEach: Enabled: true Rails/HasAndBelongsToMany: Enabled: true Rails/HelperInstanceVariable: Enabled: true Rails/HttpPositionalArguments: Enabled: true Rails/HttpStatus: Enabled: true Rails/IgnoredSkipActionFilterOption: Enabled: true Rails/IndexBy: Enabled: true Rails/IndexWith: Enabled: true Rails/InverseOf: Enabled: true Rails/LexicallyScopedActionFilter: Enabled: true Rails/LinkToBlank: Enabled: true Rails/MailerName: Enabled: true Rails/MatchRoute: Enabled: true Rails/NegateInclude: Enabled: true Rails/NotNullColumn: Enabled: true Rails/OrderById: Enabled: true Rails/PluckId: Enabled: true Rails/PluckInWhere: Enabled: true Rails/PluralizationGrammar: Enabled: true Rails/Presence: Enabled: true Rails/Present: Enabled: true NotNilAndNotEmpty: false NotBlank: true UnlessBlank: true Rails/RakeEnvironment: Enabled: true Rails/ReadWriteAttribute: Enabled: true Rails/RedundantAllowNil: Enabled: true Rails/RedundantPresenceValidationOnBelongsTo: Enabled: true Rails/RedundantReceiverInWithOptions: Enabled: true Rails/RedundantTravelBack: Enabled: true Rails/ReflectionClassName: Enabled: true Rails/RelativeDateConstant: Enabled: true Rails/RenderInline: Enabled: true Rails/RenderPlainText: Enabled: true Rails/RequestReferer: Enabled: true Rails/RequireDependency: Enabled: true Rails/ReversibleMigration: Enabled: true Include: - db/migrate/*.rb - db/sharded_migrate/*.rb Rails/ReversibleMigrationMethodDefinition: Enabled: true Include: - db/migrate/*.rb - db/sharded_migrate/*.rb Rails/RootJoinChain: Enabled: true Rails/SafeNavigation: Enabled: true Rails/SafeNavigationWithBlank: Enabled: true Rails/SaveBang: Enabled: true Exclude: - spec/**/* Rails/ScopeArgs: Enabled: true Rails/ShortI18n: Enabled: true Rails/SkipsModelValidations: Enabled: true Exclude: - db/**/* - spec/**/* Rails/SquishedSQLHeredocs: Enabled: true Rails/TimeZone: Enabled: true Rails/TimeZoneAssignment: Enabled: true Rails/UniqBeforePluck: Enabled: true Rails/UniqueValidationWithoutIndex: Enabled: true Rails/UnknownEnv: Enabled: true Environments: - development - production - staging - test Rails/UnusedIgnoredColumns: Enabled: true Rails/Validation: Enabled: true Rails/WhereEquals: Enabled: true Rails/WhereExists: Enabled: true Rails/WhereNot: Enabled: true