AllCops: Exclude: - "db/**/*" - "config/**/*" - "script/**/*" - "bin/{rails,rake,bundle}" - "node_modules/**/*" - "app/views/**/*" TargetRubyVersion: 2.7 Style/Documentation: Enabled: false Style/StringLiterals: Exclude: - db/schema.rb Style/DoubleNegation: Enabled: false Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInArguments: EnforcedStyleForMultiline: comma Metrics/CyclomaticComplexity: Enabled: false Metrics/BlockLength: Enabled: false Metrics/ClassLength: Enabled: false Metrics/ModuleLength: Enabled: false Naming/FileName: Exclude: - lib/cased-ruby.rb Naming/MethodParameterName: Enabled: false Metrics/AbcSize: Enabled: false Style/ConditionalAssignment: Enabled: false Style/IfUnlessModifier: Enabled: false Metrics/PerceivedComplexity: Enabled: false Metrics/MethodLength: Enabled: false Layout/LineLength: Enabled: false Layout/RescueEnsureAlignment: Enabled: false Layout/ArgumentAlignment: Enabled: false Layout/EndAlignment: Enabled: false Layout/ElseAlignment: Enabled: false Layout/IndentationWidth: Enabled: false Layout/FirstHashElementIndentation: Enabled: false Layout/MultilineMethodCallIndentation: Enabled: false Layout/CaseIndentation: Enabled: false Layout/LineEndStringConcatenationIndentation: # new in 1.18 Enabled: false Layout/SpaceBeforeBrackets: # new in 1.7 Enabled: false Lint/AmbiguousAssignment: # new in 1.7 Enabled: false Lint/AmbiguousRange: # new in 1.19 Enabled: false Lint/DeprecatedConstants: # new in 1.8 Enabled: false Lint/DuplicateBranch: # new in 1.3 Enabled: false Lint/DuplicateRegexpCharacterClassElement: # new in 1.1 Enabled: false Lint/EmptyBlock: # new in 1.1 Enabled: false Lint/EmptyInPattern: # new in 1.16 Enabled: false Lint/LambdaWithoutLiteralBlock: # new in 1.8 Enabled: false Lint/NoReturnInBeginEndBlocks: # new in 1.2 Enabled: false Lint/NumberedParameterAssignment: # new in 1.9 Enabled: false Lint/OrAssignmentToConstant: # new in 1.9 Enabled: false Lint/RedundantDirGlobSort: # new in 1.8 Enabled: false Lint/SymbolConversion: # new in 1.9 Enabled: false Lint/ToEnumArguments: # new in 1.1 Enabled: false Lint/TripleQuotes: # new in 1.9 Enabled: false Lint/UnexpectedBlockArity: # new in 1.5 Enabled: false Lint/UnmodifiedReduceAccumulator: # new in 1.1 Enabled: false Style/ArgumentsForwarding: # new in 1.1 Enabled: false Style/CollectionCompact: # new in 1.2 Enabled: false Style/DocumentDynamicEvalDefinition: # new in 1.1 Enabled: false Style/EndlessMethod: # new in 1.8 Enabled: false Style/HashConversion: # new in 1.10 Enabled: false Style/HashExcept: # new in 1.7 Enabled: false Style/IfWithBooleanLiteralBranches: # new in 1.9 Enabled: false Style/InPatternThen: # new in 1.16 Enabled: false Style/MultilineInPatternThen: # new in 1.16 Enabled: false Style/QuotedSymbols: # new in 1.16 Enabled: false Style/RedundantArgument: # new in 1.4 Enabled: false Style/RedundantSelfAssignmentBranch: # new in 1.19 Enabled: false Style/StringChars: # new in 1.12 Enabled: false Style/SwapValues: # new in 1.1 Enabled: false Style/GlobalStdStream: Enabled: false Style/HashSyntax: Enabled: false Style/AccessorGrouping: Enabled: false Style/KeywordParametersOrder: Enabled: false Lint/MissingSuper: Enabled: false Gemspec/RequiredRubyVersion: Enabled: false Gemspec/DateAssignment: # new in 1.10 Enabled: false Lint/EmptyClass: # new in 1.3 Enabled: false Naming/InclusiveLanguage: # new in 1.18 Enabled: false Style/NegatedIfElseCondition: # new in 1.2 Enabled: false Style/NilLambda: # new in 1.3 Enabled: false