require: - rubocop-performance - rubocop-rails - rubocop-rake - rubocop-rspec AllCops: Exclude: - node_modules/**/* - vendor/**/* - tmp/**/* DisplayCopNames: false DisabledByDefault: true TargetRubyVersion: 3.0 TargetRailsVersion: 6.1 RSpec: Language: Includes: Examples: - it_has_behavior Bundler/DuplicatedGem: Enabled: true Bundler/InsecureProtocolSource: Enabled: true Layout/AccessModifierIndentation: Enabled: true Layout/ArrayAlignment: Enabled: true Layout/AssignmentIndentation: Enabled: true Layout/BeginEndAlignment: Enabled: true Layout/BlockAlignment: Enabled: true Layout/BlockEndNewline: Enabled: true Layout/ClosingHeredocIndentation: Enabled: true Layout/CommentIndentation: Enabled: true Layout/ConditionPosition: Enabled: true Layout/DefEndAlignment: Enabled: true Layout/EmptyComment: Enabled: true Layout/EmptyLineBetweenDefs: Enabled: true Layout/EmptyLines: Enabled: true Layout/EmptyLinesAroundAccessModifier: Enabled: true Layout/EmptyLinesAroundBeginBody: Enabled: true Layout/EmptyLinesAroundBlockBody: Enabled: true Layout/EmptyLinesAroundClassBody: Enabled: true Layout/EmptyLinesAroundExceptionHandlingKeywords: Enabled: true Layout/EmptyLinesAroundMethodBody: Enabled: true Layout/EmptyLinesAroundModuleBody: Enabled: true Layout/EndOfLine: Enabled: true Layout/ExtraSpacing: Enabled: true Layout/FirstArrayElementIndentation: Enabled: true EnforcedStyle: consistent Layout/FirstHashElementIndentation: Enabled: true EnforcedStyle: consistent Layout/HeredocIndentation: Enabled: true Layout/IndentationConsistency: Enabled: true Layout/IndentationStyle: Enabled: true Layout/InitialIndentation: Enabled: true Layout/LeadingCommentSpace: Enabled: true Layout/LeadingEmptyLines: Enabled: true Layout/MultilineAssignmentLayout: Enabled: true EnforcedStyle: same_line Layout/MultilineBlockLayout: Enabled: true Exclude: - spec/**/* Layout/MultilineMethodCallIndentation: Enabled: true EnforcedStyle: indented Exclude: - spec/**/* Layout/MultilineMethodDefinitionBraceLayout: Enabled: true Layout/MultilineOperationIndentation: Enabled: true Layout/RescueEnsureAlignment: Enabled: true Layout/SpaceAfterColon: Enabled: true Layout/SpaceAfterComma: Enabled: true Layout/SpaceAfterMethodName: Enabled: true Layout/SpaceAfterNot: Enabled: true Layout/SpaceAfterSemicolon: Enabled: true Layout/SpaceAroundBlockParameters: Enabled: true Layout/SpaceAroundEqualsInParameterDefault: Enabled: true Layout/SpaceAroundKeyword: Enabled: true Layout/SpaceAroundMethodCallOperator: Enabled: true Layout/SpaceAroundOperators: Enabled: true Layout/SpaceBeforeBrackets: Enabled: true Layout/SpaceBeforeComma: Enabled: true Layout/SpaceBeforeComment: Enabled: true Layout/SpaceBeforeFirstArg: Enabled: true Layout/SpaceBeforeSemicolon: Enabled: true Layout/SpaceInLambdaLiteral: Enabled: true Layout/SpaceInsideArrayPercentLiteral: Enabled: true Layout/SpaceInsideParens: Enabled: true Layout/SpaceInsidePercentLiteralDelimiters: Enabled: true Layout/SpaceInsideRangeLiteral: Enabled: true Layout/TrailingEmptyLines: Enabled: true Layout/TrailingWhitespace: Enabled: true Lint/AmbiguousAssignment: Enabled: true Lint/AmbiguousOperator: Enabled: true Lint/AmbiguousOperatorPrecedence: Enabled: true Lint/AmbiguousRange: Enabled: true Lint/AmbiguousRegexpLiteral: Enabled: true Lint/BigDecimalNew: Enabled: true Lint/BinaryOperatorWithIdenticalOperands: Enabled: true Lint/BooleanSymbol: Enabled: true Lint/CircularArgumentReference: Enabled: true Lint/ConstantDefinitionInBlock: Enabled: true Lint/Debugger: Enabled: true Lint/DeprecatedClassMethods: Enabled: true Lint/DeprecatedConstants: Enabled: true Lint/DeprecatedOpenSSLConstant: Enabled: true Lint/DisjunctiveAssignmentInConstructor: Enabled: true Lint/DuplicateBranch: Enabled: true Lint/DuplicateCaseCondition: Enabled: true Lint/DuplicateElsifCondition: Enabled: true Lint/DuplicateHashKey: Enabled: true Lint/DuplicateMethods: Enabled: true Lint/DuplicateRegexpCharacterClassElement: Enabled: true Lint/DuplicateRequire: Enabled: true Lint/DuplicateRescueException: Enabled: true Lint/EachWithObjectArgument: Enabled: true Lint/ElseLayout: Enabled: true Lint/EmptyBlock: Enabled: true Lint/EmptyClass: Enabled: true Lint/EmptyConditionalBody: Enabled: true Lint/EmptyEnsure: Enabled: true Lint/EmptyExpression: Enabled: true Lint/EmptyFile: Enabled: true Lint/EmptyInPattern: Enabled: true Lint/EmptyInterpolation: Enabled: true Lint/EmptyWhen: Enabled: true Lint/EnsureReturn: Enabled: true Lint/FlipFlop: Enabled: true Lint/FloatComparison: Enabled: true Lint/FloatOutOfRange: Enabled: true Lint/FormatParameterMismatch: Enabled: true Lint/HashCompareByIdentity: Enabled: true Lint/HeredocMethodCallPosition: Enabled: true Lint/IdentityComparison: Enabled: true Lint/ImplicitStringConcatenation: Enabled: true Lint/IncompatibleIoSelectWithFiberScheduler: Enabled: true Lint/IneffectiveAccessModifier: Enabled: true Lint/InheritException: Enabled: true EnforcedStyle: standard_error Lint/LiteralAsCondition: Enabled: true Lint/LiteralInInterpolation: Enabled: true Lint/Loop: Enabled: true Lint/MissingCopEnableDirective: Enabled: true Lint/MissingSuper: Enabled: true Lint/MixedRegexpCaptureTypes: Enabled: true Lint/MultipleComparison: Enabled: true Lint/NestedMethodDefinition: Enabled: true Lint/NextWithoutAccumulator: Enabled: true Lint/NonDeterministicRequireOrder: Enabled: true Lint/NonLocalExitFromIterator: Enabled: true Lint/NumberedParameterAssignment: Enabled: true Lint/OrAssignmentToConstant: Enabled: true Lint/OutOfRangeRegexpRef: Enabled: true Lint/ParenthesesAsGroupedExpression: Enabled: true Lint/PercentStringArray: Enabled: true Lint/PercentSymbolArray: Enabled: true Lint/RaiseException: Enabled: true Lint/RandOne: Enabled: true Lint/RedundantCopDisableDirective: Enabled: true Lint/RedundantCopEnableDirective: Enabled: true Lint/RedundantDirGlobSort: Enabled: true Lint/RedundantRequireStatement: Enabled: true Lint/RedundantSafeNavigation: Enabled: true Lint/RedundantSplatExpansion: Enabled: true Lint/RedundantStringCoercion: Enabled: true Lint/RedundantWithIndex: Enabled: true Lint/RedundantWithObject: Enabled: true Lint/RegexpAsCondition: Enabled: true Lint/RequireParentheses: Enabled: true Lint/RequireRelativeSelfPath: Enabled: true Lint/RescueException: Enabled: true Lint/RescueType: Enabled: true Lint/ReturnInVoidContext: Enabled: true Lint/SafeNavigationChain: Enabled: true AllowedMethods: - present? - blank? - presence - try - try! - to_bool - to_liquid - in? Lint/SafeNavigationWithEmpty: Enabled: true Lint/ScriptPermission: Enabled: true Lint/SelfAssignment: Enabled: true Lint/SendWithMixinArgument: Enabled: true Lint/ShadowedException: Enabled: true Lint/StructNewOverride: Enabled: true Lint/SymbolConversion: Enabled: true Lint/ToEnumArguments: Enabled: true Lint/ToJSON: Enabled: true Lint/TopLevelReturnWithArgument: Enabled: true Lint/TrailingCommaInAttributeDeclaration: Enabled: true Lint/TripleQuotes: Enabled: true Lint/UnexpectedBlockArity: Enabled: true Lint/UnifiedInteger: Enabled: true Lint/UnmodifiedReduceAccumulator: Enabled: true Lint/UnreachableCode: Enabled: true Lint/UnreachableLoop: Enabled: true Lint/UnusedBlockArgument: Enabled: true Lint/UnusedMethodArgument: Enabled: true Lint/UriEscapeUnescape: Enabled: true Lint/UriRegexp: Enabled: true Lint/UselessAccessModifier: Enabled: true Lint/UselessAssignment: Enabled: true Lint/UselessElseWithoutRescue: Enabled: true Lint/UselessMethodDefinition: Enabled: true Lint/UselessSetterCall: Enabled: true Lint/UselessTimes: Enabled: true Lint/Void: Enabled: true Metrics/BlockNesting: Enabled: true Naming/AsciiIdentifiers: Enabled: true Naming/ClassAndModuleCamelCase: Enabled: true Naming/ConstantName: Enabled: true Naming/FileName: Enabled: true Naming/InclusiveLanguage: Enabled: true Naming/MemoizedInstanceVariableName: Enabled: true Naming/MethodName: Enabled: true Naming/PredicateName: Enabled: true NamePrefix: - is_ ForbiddenPrefixes: - is_ Naming/RescuedExceptionsVariableName: Enabled: true Naming/VariableName: Enabled: true Performance/AncestorsInclude: Enabled: true Performance/BigDecimalWithNumericArgument: Enabled: true Performance/BindCall: Enabled: true Performance/BlockGivenWithExplicitBlock: Enabled: true Performance/Caller: Enabled: true Performance/CaseWhenSplat: Enabled: true Performance/Casecmp: Enabled: true Performance/CollectionLiteralInLoop: Enabled: true Performance/CompareWithBlock: Enabled: true Performance/ConstantRegexp: Enabled: true Performance/Count: Enabled: true Performance/DeletePrefix: Enabled: true Performance/DeleteSuffix: Enabled: true Performance/Detect: Enabled: true Performance/DoubleStartEndWith: Enabled: true Performance/EndWith: Enabled: true Performance/FixedSize: Enabled: true Performance/FlatMap: Enabled: true Performance/InefficientHashSearch: Enabled: true Performance/IoReadlines: Enabled: true Performance/MapCompact: Enabled: true Performance/RangeInclude: Enabled: true Performance/RedundantBlockCall: Enabled: true Performance/RedundantEqualityComparisonBlock: Enabled: true Performance/RedundantMatch: Enabled: true Performance/RedundantMerge: Enabled: true Performance/RedundantSortBlock: Enabled: true Performance/RedundantSplitRegexpArgument: Enabled: true Performance/RedundantStringChars: Enabled: true Performance/RegexpMatch: Enabled: true Performance/ReverseEach: Enabled: true Performance/ReverseFirst: Enabled: true Performance/Size: Enabled: true Performance/SortReverse: Enabled: true Performance/Squeeze: Enabled: true Performance/StartWith: Enabled: true Performance/StringInclude: Enabled: true Performance/StringReplacement: Enabled: true Performance/Sum: Enabled: true Performance/TimesMap: Enabled: true Performance/UnfreezeString: Enabled: true Performance/UriDefaultParser: Enabled: true 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/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/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/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 Rake/ClassDefinitionInTask: Enabled: true Rake/Desc: Enabled: true Rake/DuplicateNamespace: Enabled: true Rake/DuplicateTask: Enabled: true Rake/MethodDefinitionInTask: Enabled: true RSpec/AroundBlock: Enabled: true RSpec/Be: Enabled: true RSpec/BeEql: Enabled: true RSpec/BeforeAfterAll: Enabled: true RSpec/Capybara/CurrentPathExpectation: Enabled: true RSpec/Capybara/FeatureMethods: Enabled: true RSpec/Capybara/VisibilityMatcher: Enabled: true RSpec/ContextMethod: Enabled: true RSpec/DescribeClass: Enabled: true Exclude: - spec/system/**/* - spec/tasks/**/* RSpec/DescribeMethod: Enabled: true RSpec/DescribeSymbol: Enabled: true RSpec/DescribedClass: Enabled: true RSpec/DescribedClassModuleWrapping: Enabled: true RSpec/EmptyExampleGroup: Enabled: true Exclude: - spec/requests/api_v2/**/* RSpec/EmptyHook: Enabled: true RSpec/EmptyLineAfterExample: Enabled: true RSpec/EmptyLineAfterExampleGroup: Enabled: true RSpec/ExampleWithoutDescription: Enabled: true RSpec/ExampleWording: Enabled: true RSpec/ExcessiveDocstringSpacing: Enabled: true RSpec/ExpectInHook: Enabled: true RSpec/ExpectOutput: Enabled: true RSpec/FactoryBot/AttributeDefinedStatically: Enabled: true RSpec/FactoryBot/CreateList: Enabled: true RSpec/FactoryBot/FactoryClassName: Enabled: true RSpec/FilePath: Enabled: true IgnoreMethods: true Exclude: - spec/requests/api_v2/**/* RSpec/Focus: Enabled: true RSpec/HooksBeforeExamples: Enabled: true RSpec/IdenticalEqualityAssertion: Enabled: true RSpec/InstanceSpy: Enabled: true RSpec/InstanceVariable: Enabled: true RSpec/ItBehavesLike: Enabled: true RSpec/IteratedExpectation: Enabled: true RSpec/LeakyConstantDeclaration: Enabled: true RSpec/LetBeforeExamples: Enabled: true RSpec/LetSetup: Enabled: true RSpec/MultipleDescribes: Enabled: true RSpec/MultipleSubjects: Enabled: true RSpec/OverwritingSetup: Enabled: true RSpec/Rails/AvoidSetupHook: Enabled: true RSpec/Rails/HttpStatus: Enabled: true RSpec/ReceiveCounts: Enabled: true RSpec/ReceiveNever: Enabled: true RSpec/RepeatedDescription: Enabled: true RSpec/RepeatedExample: Enabled: true RSpec/RepeatedExampleGroupBody: Enabled: true RSpec/RepeatedExampleGroupDescription: Enabled: true RSpec/ScatteredLet: Enabled: true RSpec/ScatteredSetup: Enabled: true RSpec/SharedContext: Enabled: true RSpec/SharedExamples: Enabled: true RSpec/SingleArgumentMessageChain: Enabled: true RSpec/StubbedMock: Enabled: true RSpec/SubjectDeclaration: Enabled: true RSpec/VariableDefinition: Enabled: true RSpec/VariableName: Enabled: true RSpec/VerifiedDoubles: Enabled: true RSpec/VoidExpect: Enabled: true RSpec/Yield: Enabled: true Security/Eval: Enabled: true Security/IoMethods: Enabled: true Security/JSONLoad: Enabled: true Security/MarshalLoad: Enabled: true Security/Open: Enabled: true Security/YAMLLoad: Enabled: true Style/AccessorGrouping: Enabled: true Style/Alias: Enabled: true EnforcedStyle: prefer_alias_method Style/AndOr: Enabled: true Style/ArgumentsForwarding: Enabled: true Style/ArrayCoercion: Enabled: true Style/ArrayJoin: Enabled: true Style/Attr: Enabled: true Style/AutoResourceCleanup: Enabled: true Style/BarePercentLiterals: Enabled: true Style/BeginBlock: Enabled: true Style/BisectedAttrAccessor: Enabled: true Style/BlockComments: Enabled: true Exclude: - support/**/* Style/BlockDelimiters: Enabled: true Exclude: - spec/**/* Style/CaseLikeIf: Enabled: true Style/CharacterLiteral: Enabled: true Style/ClassCheck: Enabled: true Style/ClassEqualityComparison: Enabled: true Style/ClassMethods: Enabled: true Style/CollectionCompact: Enabled: true Style/CollectionMethods: Enabled: true PreferredMethods: collect: 'map' collect!: 'map!' detect: 'find' find_all: 'select' Style/ColonMethodCall: Enabled: true Style/ColonMethodDefinition: Enabled: true Style/CombinableLoops: Enabled: true Style/CommentAnnotation: Enabled: true Style/ConditionalAssignment: Enabled: true Style/DateTime: Enabled: true Style/DefWithParentheses: Enabled: true Style/Dir: Enabled: true Style/DocumentDynamicEvalDefinition: Enabled: true Style/EachForSimpleLoop: Enabled: true Style/EachWithObject: Enabled: true Style/EmptyBlockParameter: Enabled: true Style/EmptyElse: Enabled: true Style/EmptyLambdaParameter: Enabled: true Style/EmptyLiteral: Enabled: true Style/EndBlock: Enabled: true Style/EndlessMethod: Enabled: true Style/EvalWithLocation: Enabled: true Style/EvenOdd: Enabled: true Style/ExpandPathArguments: Enabled: true Style/ExplicitBlockArgument: Enabled: true Style/ExponentialNotation: Enabled: true Style/FloatDivision: Enabled: true Style/For: Enabled: true Style/GlobalStdStream: Enabled: true Style/GlobalVars: Enabled: true Style/HashConversion: Enabled: true Style/HashEachMethods: Enabled: true Style/HashExcept: Enabled: true Style/HashLikeCase: Enabled: true Style/HashSyntax: Enabled: true Style/HashTransformKeys: Enabled: true Style/HashTransformValues: Enabled: true Style/IdenticalConditionalBranches: Enabled: true Style/IfInsideElse: Enabled: true Style/IfUnlessModifierOfIfUnless: Enabled: true Style/IfWithBooleanLiteralBranches: Enabled: true Style/IfWithSemicolon: Enabled: true Style/InfiniteLoop: Enabled: true Style/InverseMethods: Enabled: true Style/KeywordParametersOrder: Enabled: true Style/LambdaCall: Enabled: true Style/LineEndConcatenation: Enabled: true Style/MethodCallWithoutArgsParentheses: Enabled: true Style/MethodDefParentheses: Enabled: true Style/MinMax: Enabled: true Style/MissingRespondToMissing: Enabled: true Style/MixinGrouping: Enabled: true Style/MixinUsage: Enabled: true Style/ModuleFunction: Enabled: true Style/MultilineIfThen: Enabled: true Style/MultilineInPatternThen: Enabled: true Style/MultilineMemoization: Enabled: true Style/MultilineMethodSignature: Enabled: true Style/MultilineWhenThen: Enabled: true Style/MultipleComparison: Enabled: true Style/MutableConstant: Enabled: true Style/NegatedIf: Enabled: true Style/NegatedIfElseCondition: Enabled: true Style/NegatedUnless: Enabled: true Style/NegatedWhile: Enabled: true Style/NestedModifier: Enabled: true Style/NestedTernaryOperator: Enabled: true Style/Next: Enabled: true Style/NilComparison: Enabled: true Style/NilLambda: Enabled: true Style/NonNilCheck: Enabled: true Style/Not: Enabled: true Style/NumberedParameters: Enabled: true Style/NumberedParametersLimit: Enabled: true Style/NumericLiteralPrefix: Enabled: true Style/NumericLiterals: Enabled: true Style/OneLineConditional: Enabled: true Style/OptionalArguments: Enabled: true Style/OptionalBooleanParameter: Enabled: true Style/ParenthesesAroundCondition: Enabled: true Style/PercentQLiterals: Enabled: true Style/PerlBackrefs: Enabled: true Style/PreferredHashMethods: Enabled: true Style/Proc: Enabled: true Style/RaiseArgs: Enabled: true Style/RedundantArgument: Enabled: true Style/RedundantAssignment: Enabled: true Style/RedundantBegin: Enabled: true Style/RedundantCapitalW: Enabled: true Style/RedundantCondition: Enabled: true Style/RedundantConditional: Enabled: true Style/RedundantException: Enabled: true Style/RedundantFetchBlock: Enabled: true Style/RedundantFileExtensionInRequire: Enabled: true Style/RedundantFreeze: Enabled: true Style/RedundantInterpolation: Enabled: true Style/RedundantParentheses: Enabled: true Style/RedundantPercentQ: Enabled: true Style/RedundantRegexpCharacterClass: Enabled: true Style/RedundantRegexpEscape: Enabled: true Style/RedundantReturn: Enabled: true Style/RedundantSelf: Enabled: true Style/RedundantSelfAssignment: Enabled: true Style/RedundantSelfAssignmentBranch: Enabled: true Style/RedundantSort: Enabled: true Style/RedundantSortBy: Enabled: true Style/RescueStandardError: Enabled: true Style/ReturnNil: Enabled: true Style/SafeNavigation: Enabled: true Style/Sample: Enabled: true Style/SelectByRegexp: Enabled: true Style/SelfAssignment: Enabled: true Style/SignalException: Enabled: true Style/SingleArgumentDig: Enabled: true Style/SlicingWithRange: Enabled: true Style/SoleNestedConditional: Enabled: true Style/SpecialGlobalVars: Enabled: true Style/StabbyLambdaParentheses: Enabled: true Style/StaticClass: Enabled: true Style/StderrPuts: Enabled: true Style/StringChars: Enabled: true Style/StringConcatenation: Enabled: true Style/StringMethods: Enabled: true Style/Strip: Enabled: true Style/StructInheritance: Enabled: true Style/SwapValues: Enabled: true Style/SymbolLiteral: Enabled: true Style/SymbolProc: Enabled: true Style/TopLevelMethodDefinition: Enabled: true Style/TrailingBodyOnClass: Enabled: true Style/TrailingBodyOnModule: Enabled: true Style/TrailingCommaInBlockArgs: Enabled: true Style/TrivialAccessors: Enabled: true Style/UnlessElse: Enabled: true Style/UnpackFirst: Enabled: true Style/VariableInterpolation: Enabled: true Style/WhileUntilDo: Enabled: true Style/YodaCondition: Enabled: true Style/ZeroLengthPredicate: Enabled: true