require: - rubocop-rspec AllCops: NewCops: enable TargetRubyVersion: 2.5 DisplayCopNames: true Exclude: - "rndb.gemspec" - ".bundle/**/*" - "vendor/**/*" - "node_modules/**/*" RSpec/DescribeMethod: Exclude: - spec/routes/**/* RSpec/FilePath: Exclude: - spec/routes/**/* Layout/EmptyLineAfterGuardClause: Enabled: false Layout/EmptyLinesAroundAttributeAccessor: Enabled: true Layout/ExtraSpacing: AllowForAlignment: false Layout/FirstHashElementIndentation: EnforcedStyle: consistent Layout/LineLength: Enabled: false Layout/SpaceAroundEqualsInParameterDefault: EnforcedStyle: no_space Layout/SpaceAroundMethodCallOperator: Enabled: true Layout/SpaceBeforeBrackets: Enabled: false Lint/BinaryOperatorWithIdenticalOperands: Enabled: true Lint/DeprecatedOpenSSLConstant: Enabled: true Lint/DuplicateElsifCondition: Enabled: true Lint/DuplicateRescueException: Enabled: true Lint/EmptyConditionalBody: Enabled: true Lint/FloatComparison: Enabled: true Lint/MissingSuper: Enabled: true Lint/MixedRegexpCaptureTypes: Enabled: true Lint/OutOfRangeRegexpRef: Enabled: true Lint/RaiseException: Enabled: true Lint/SelfAssignment: Enabled: true Lint/StructNewOverride: Enabled: true Lint/TopLevelReturnWithArgument: Enabled: true Lint/UnreachableLoop: Enabled: true Metrics/ParameterLists: Enabled: false Metrics/BlockLength: Enabled: false Metrics/MethodLength: Enabled: false Metrics/ClassLength: Enabled: false Metrics/ModuleLength: Enabled: false Metrics/AbcSize: Enabled: false Metrics/CyclomaticComplexity: Enabled: false Metrics/PerceivedComplexity: Enabled: false Naming/MethodParameterName: Enabled: false RSpec/EmptyExampleGroup: Enabled: false RSpec/MultipleExpectations: Max: 2 Style/AccessorGrouping: Enabled: true Style/ArrayCoercion: Enabled: true Style/AsciiComments: Enabled: false Style/BisectedAttrAccessor: Enabled: true Style/CaseLikeIf: Enabled: true Style/Documentation: Enabled: false Style/ExplicitBlockArgument: Enabled: false Style/ExponentialNotation: Enabled: true Style/GlobalStdStream: Enabled: true Style/HashAsLastArrayItem: Enabled: true Style/HashEachMethods: Enabled: true Style/HashLikeCase: Enabled: true Style/HashTransformKeys: Enabled: true Style/HashTransformValues: Enabled: true Style/OptionalBooleanParameter: Enabled: true Style/ParallelAssignment: Enabled: false Style/RedundantAssignment: Enabled: true Style/RedundantFetchBlock: Enabled: true Style/RedundantFileExtensionInRequire: Enabled: true Style/RedundantRegexpCharacterClass: Enabled: true Style/RedundantRegexpEscape: Enabled: true Style/RegexpLiteral: Enabled: false Style/SingleArgumentDig: Enabled: true Style/SlicingWithRange: Enabled: true Style/StringConcatenation: Enabled: true Style/StringLiterals: Enabled: false Style/SymbolArray: Enabled: false Style/WordArray: Enabled: false