# My global rubocop that checks only Lint. # Tested on rubocop version 0.40.0. AllCops: DisplayStyleGuide: true # -------------------------------------------------- # Style # -------------------------------------------------- Style/AccessModifierIndentation: Enabled: false Style/AccessorMethodName: Enabled: false Style/Alias: Enabled: false Style/AlignArray: Enabled: false Style/AlignHash: Enabled: false Style/AlignParameters: Enabled: false Style/AndOr: Enabled: false Style/ArrayJoin: Enabled: false Style/AsciiComments: Enabled: false Style/AsciiIdentifiers: Enabled: false Style/Attr: Enabled: false Style/BeginBlock: Enabled: false Style/BarePercentLiterals: Enabled: false Style/BlockComments: Enabled: false Style/BlockEndNewline: Enabled: false Style/BlockDelimiters: Enabled: false Style/BracesAroundHashParameters: Enabled: false Style/CaseEquality: Enabled: false Style/CaseIndentation: Enabled: false Style/CharacterLiteral: Enabled: false Style/ClassAndModuleCamelCase: Enabled: false Style/ClassAndModuleChildren: Enabled: false Style/ClassCheck: Enabled: false Style/ClassMethods: Enabled: false Style/ClassVars: Enabled: false Style/ClosingParenthesisIndentation: Enabled: false Style/ColonMethodCall: Enabled: false Style/CommandLiteral: Enabled: false Style/CommentAnnotation: Enabled: false Style/CommentIndentation: Enabled: false Style/ConditionalAssignment: Enabled: false Style/ConstantName: Enabled: false Style/DefWithParentheses: Enabled: false Style/DeprecatedHashMethods: Enabled: false Style/Documentation: Enabled: false Style/DotPosition: Enabled: false Style/DoubleNegation: Enabled: false Style/EachWithObject: Enabled: false Style/ElseAlignment: Enabled: false Style/EmptyElse: Enabled: false Style/EmptyCaseCondition: Enabled: false Style/EmptyLineBetweenDefs: Enabled: false Style/EmptyLines: Enabled: false Style/EmptyLinesAroundAccessModifier: Enabled: false Style/EmptyLinesAroundBlockBody: Enabled: false Style/EmptyLinesAroundClassBody: Enabled: false Style/EmptyLinesAroundModuleBody: Enabled: false Style/EmptyLinesAroundMethodBody: Enabled: false Style/EmptyLiteral: Enabled: false Style/EndBlock: Enabled: false Style/EndOfLine: Enabled: false Style/EvenOdd: Enabled: false Style/ExtraSpacing: Enabled: false Style/FileName: Enabled: false Style/FrozenStringLiteralComment: Enabled: false Style/InitialIndentation: Enabled: false Style/FirstParameterIndentation: Enabled: false Style/FlipFlop: Enabled: false Style/For: Enabled: false Style/FormatString: Enabled: false Style/GlobalVars: Enabled: false Style/GuardClause: Enabled: false Style/HashSyntax: Enabled: false Style/IfInsideElse: Enabled: false Style/IfUnlessModifier: Enabled: false Style/IfUnlessModifierOfIfUnless: Enabled: false Style/IfWithSemicolon: Enabled: false Style/IndentationConsistency: Enabled: false Style/IndentationWidth: Enabled: false Style/IdenticalConditionalBranches: Enabled: false Style/IndentArray: Enabled: false Style/IndentAssignment: Enabled: false Style/IndentHash: Enabled: false Style/InfiniteLoop: Enabled: false Style/Lambda: Enabled: false Style/LambdaCall: Enabled: false Style/LeadingCommentSpace: Enabled: false Style/LineEndConcatenation: Enabled: false Style/MethodCallParentheses: Enabled: false Style/MethodDefParentheses: Enabled: false Style/MethodName: Enabled: false Style/ModuleFunction: Enabled: false Style/MultilineArrayBraceLayout: Enabled: false Style/MultilineBlockChain: Enabled: false Style/MultilineBlockLayout: Enabled: false Style/MultilineHashBraceLayout: Enabled: false Style/MultilineIfThen: Enabled: false Style/MultilineMethodCallBraceLayout: Enabled: false Style/MultilineMethodCallIndentation: Enabled: false Style/MultilineMethodDefinitionBraceLayout: Enabled: false Style/MultilineOperationIndentation: Enabled: false Style/MultilineTernaryOperator: Enabled: false Style/MutableConstant: Enabled: false Style/NegatedIf: Enabled: false Style/NegatedWhile: Enabled: false Style/NestedModifier: Enabled: false Style/NestedParenthesizedCalls: Enabled: false Style/NestedTernaryOperator: Enabled: false Style/Next: Enabled: false Style/NilComparison: Enabled: false Style/NonNilCheck: Enabled: false Style/Not: Enabled: false Style/NumericLiterals: Enabled: false Style/OneLineConditional: Enabled: false Style/OpMethod: Enabled: false Style/OptionalArguments: Enabled: false Style/ParallelAssignment: Enabled: false Style/ParenthesesAroundCondition: Enabled: false Style/PercentLiteralDelimiters: Enabled: false Style/PercentQLiterals: Enabled: false Style/PerlBackrefs: Enabled: false Style/PredicateName: Enabled: false Style/Proc: Enabled: false Style/RaiseArgs: Enabled: false Style/RedundantBegin: Enabled: false Style/RedundantException: Enabled: false Style/RedundantFreeze: Enabled: false Style/RedundantParentheses: Enabled: false Style/RedundantReturn: Enabled: false Style/RedundantSelf: Enabled: false Style/RegexpLiteral: Enabled: false Style/RescueEnsureAlignment: Enabled: false Style/RescueModifier: Enabled: false Style/SelfAssignment: Enabled: false Style/Semicolon: Enabled: false Style/SignalException: Enabled: false Style/SingleLineBlockParams: Enabled: false Style/SingleLineMethods: Enabled: false Style/SpaceBeforeFirstArg: Enabled: false Style/SpaceAfterColon: Enabled: false Style/SpaceAfterComma: Enabled: false Style/SpaceAfterMethodName: Enabled: false Style/SpaceAfterNot: Enabled: false Style/SpaceAfterSemicolon: Enabled: false Style/SpaceBeforeBlockBraces: Enabled: false Style/SpaceBeforeComma: Enabled: false Style/SpaceBeforeComment: Enabled: false Style/SpaceBeforeSemicolon: Enabled: false Style/SpaceInsideBlockBraces: Enabled: false Style/SpaceAroundBlockParameters: Enabled: false Style/SpaceAroundEqualsInParameterDefault: Enabled: false Style/SpaceAroundKeyword: Enabled: false Style/SpaceAroundOperators: Enabled: false Style/SpaceInsideBrackets: Enabled: false Style/SpaceInsideHashLiteralBraces: Enabled: false Style/SpaceInsideParens: Enabled: false Style/SpaceInsideRangeLiteral: Enabled: false Style/SpaceInsideStringInterpolation: Enabled: false Style/SpecialGlobalVars: Enabled: false Style/StabbyLambdaParentheses: Enabled: false Style/StringLiterals: Enabled: false Style/StringLiteralsInInterpolation: Enabled: false Style/StructInheritance: Enabled: false Style/SymbolLiteral: Enabled: false Style/SymbolProc: Enabled: false Style/Tab: Enabled: false Style/TrailingBlankLines: Enabled: false Style/TrailingCommaInArguments: Enabled: false Style/TrailingCommaInLiteral: Enabled: false Style/TrailingWhitespace: Enabled: false Style/TrivialAccessors: Enabled: false Style/UnlessElse: Enabled: false Style/UnneededCapitalW: Enabled: false Style/UnneededInterpolation: Enabled: false Style/UnneededPercentQ: Enabled: false Style/TrailingUnderscoreVariable: Enabled: false Style/VariableInterpolation: Enabled: false Style/VariableName: Enabled: false Style/WhenThen: Enabled: false Style/WhileUntilDo: Enabled: false Style/WhileUntilModifier: Enabled: false Style/WordArray: Enabled: false Style/ZeroLengthPredicate: Enabled: false Metrics/AbcSize: Enabled: false Metrics/BlockNesting: Enabled: false Metrics/ClassLength: Enabled: false Metrics/ModuleLength: Enabled: false Metrics/CyclomaticComplexity: Enabled: false Metrics/LineLength: Enabled: false Metrics/MethodLength: Enabled: false Metrics/ParameterLists: Enabled: false Metrics/PerceivedComplexity: Enabled: false # -------------------------------------------------- # Lint # -------------------------------------------------- Lint/LiteralInCondition: Enabled: false # -------------------------------------------------- # Performance # -------------------------------------------------- Performance/Casecmp: Enabled: false Performance/CaseWhenSplat: Enabled: false Performance/Count: Enabled: false Performance/Detect: Enabled: false Performance/DoubleStartEndWith: Enabled: false Performance/EndWith: Enabled: false Performance/FixedSize: Enabled: false Performance/FlatMap: Enabled: false Performance/HashEachMethods: Enabled: false Performance/LstripRstrip: Enabled: false Performance/RangeInclude: Enabled: false Performance/RedundantBlockCall: Enabled: false Performance/RedundantMatch: Enabled: false Performance/RedundantMerge: Enabled: false Performance/RedundantSortBy: Enabled: false Performance/ReverseEach: Enabled: false Performance/Sample: Enabled: false Performance/Size: Enabled: false Performance/StartWith: Enabled: false Performance/StringReplacement: Enabled: false Performance/TimesMap: Enabled: false