require: - rubocop-performance - rubocop-rails - rubocop-rspec - rubocop-thread_safety AllCops: NewCops: enable TargetRubyVersion: 2.5 Style/StringLiterals: Enabled: false Layout/HashAlignment: EnforcedColonStyle: table EnforcedHashRocketStyle: table Layout/MultilineArrayLineBreaks: Enabled: true Layout/MultilineAssignmentLayout: Enabled: true Layout/MultilineHashKeyLineBreaks: Enabled: true Layout/MultilineMethodArgumentLineBreaks: Enabled: true Layout/LineLength: Max: 120 Lint/MissingSuper: Enabled: false Metrics/AbcSize: Max: 17 Metrics/BlockLength: Max: 25 Metrics/ClassLength: Enabled: false Metrics/CyclomaticComplexity: Max: 10 Metrics/MethodLength: Max: 6 Metrics/ModuleLength: Enabled: false Metrics/ParameterLists: Enabled: true Metrics/PerceivedComplexity: Max: 10 Naming/VariableNumber: Enabled: true Rails: Enabled: true Rails/HasManyOrHasOneDependent: Enabled: false Rails/HttpPositionalArguments: Exclude: Rails/SkipsModelValidations: Enabled: false Rails/UniqueValidationWithoutIndex: Enabled: true RSpec/DescribeClass: Enabled: true RSpec/ExampleLength: Enabled: false RSpec/MultipleExpectations: Enabled: false RSpec/NestedGroups: Enabled: false RSpec/AnyInstance: Enabled: false RSpec/InstanceVariable: Enabled: false RSpec/EmptyLineAfterSubject: Enabled: true RSpec/MessageSpies: EnforcedStyle: receive RSpec/PredicateMatcher: Enabled: true Style/Documentation: Enabled: false Style/ClassAndModuleChildren: Enabled: false Style/NumericLiterals: Enabled: false Style/RescueStandardError: EnforcedStyle: implicit