.rubocop.yml (9905B)
1 Layout/BeginEndAlignment: { EnforcedStyleAlignWith: begin } 2 Layout/BlockAlignment: { Enabled: false } 3 Layout/BlockEndNewline: { Enabled: false } 4 Layout/DotPosition: { EnforcedStyle: trailing } 5 Layout/EmptyLineAfterGuardClause: { Enabled: false } 6 Layout/EmptyLineAfterMagicComment: { Enabled: false } 7 Layout/EmptyLineBetweenDefs: { NumberOfEmptyLines: [0,2] } 8 Layout/EmptyLines: { Enabled: false } # you're seriously sick, seek help 9 Layout/EmptyLinesAroundAccessModifier: { EnforcedStyle: only_before } 10 Layout/EmptyLinesAroundAttributeAccessor: { Enabled: false } 11 Layout/EmptyLinesAroundClassBody: { Enabled: false } # I like to keep my code readable 12 Layout/EmptyLinesAroundExceptionHandlingKeywords: { Enabled: false } 13 Layout/EmptyLinesAroundModuleBody: { Enabled: false } 14 Layout/FirstArrayElementIndentation: { Enabled: false } 15 Layout/HashAlignment: { EnforcedLastArgumentHashStyle: ignore_implicit } 16 Layout/HeredocIndentation: { Enabled: false } 17 Layout/LineLength: { Max: 85 } # actually 80, but that generates too many warnings. but if I disable this facefucker, ifunlessmodifier wants to create gigantic long lines 18 Layout/MultilineArrayBraceLayout: { Enabled: false } 19 Layout/MultilineBlockLayout: { Enabled: false } # thank you for being customizable 20 Layout/MultilineMethodCallBraceLayout: { Enabled: false } 21 Layout/MultilineMethodCallIndentation: { EnforcedStyle: indented_relative_to_receiver } 22 Layout/RescueEnsureAlignment: { Enabled: false } # broken in lambdas 23 Layout/SpaceAfterComma: { Enabled: false } 24 Layout/SpaceAroundOperators: { Enabled: false } # it depends, you idiot 25 Layout/SpaceBeforeBlockBraces: { Enabled: false } # space, except for sequel 26 Layout/SpaceBeforeComment: { Enabled: false } # I do except when there is no space 27 Layout/SpaceInsideArrayLiteralBrackets: { Enabled: false } 28 Layout/SpaceInsideBlockBraces: { Enabled: false } # space, except for sequel 29 Layout/SpaceInsideHashLiteralBraces: { Enabled: false } 30 Lint/AmbiguousBlockAssociation: { Enabled: false } 31 Lint/AmbiguousOperator: { Enabled: false } 32 Lint/AmbiguousOperatorPrecedence: { Enabled: false } # Ambiguous my ass. Looks like someone failed elementary school. 33 Lint/AmbiguousRegexpLiteral: { Enabled: false } # I told you, this is not java you fucking useless piece of fucking shit 34 Lint/AssignmentInCondition: { Enabled: false } # this is not pascal FFS 35 Lint/ConstantDefinitionInBlock: { Enabled: false } # I've seen ruby code in my life, thank you very much 36 Lint/EmptyBlock: { Enabled: false } # .each is not the only method taking a block cocksuckers 37 Lint/EmptyWhen: { Enabled: false } 38 Lint/InterpolationCheck: { Enabled: false } # guess what... I'm using a single quoted string, because I DO NOT WANT IT TO BE FUCKING INTERPOLATED YOU FUCKING IDIOT. Keep your idiot rules to pajeets who can't code. 39 Lint/NonLocalExitFromIterator: { Enabled: false } # what the fuck is your fucking problem 40 Lint/RescueException: { Enabled: false } 41 Lint/ShadowingOuterLocalVariable: { Enabled: false } 42 Lint/UnusedBlockArgument: { Enabled: false } 43 Metrics/AbcSize: { Enabled: false } # stfu 44 Metrics/BlockLength: { Enabled: false } 45 Metrics/BlockNesting: { Enabled: false } 46 Metrics/ClassLength: { Enabled: false } 47 Metrics/CyclomaticComplexity: { Enabled: false } 48 Metrics/MethodLength: { Enabled: false } 49 Metrics/ModuleLength: { Enabled: false } 50 Metrics/ParameterLists: { Enabled: false } 51 Metrics/PerceivedComplexity: { Enabled: false } 52 Naming/AccessorMethodName: { Enabled: false } # not everything that starts with a `get_` is an accessor you retard 53 Naming/BinaryOperatorParameterName: { Enabled: false } # you can't even configure the name, it can only force the nigger braindead name "other" 54 Naming/BlockForwarding: { Enabled: false } # doesn't work well without parentheses 55 Naming/HeredocDelimiterNaming: { Enabled: false } # you're retarded beyond help 56 Naming/MemoizedInstanceVariableName: { Enabled: false } 57 Naming/MethodParameterName: { MinNameLength: 1 } 58 Naming/PredicateName: { ForbiddenPrefixes: [is_] } # Do not bark in `has_something?`. Is `is` the same as `has`? Is an apple same as an orange? Is an iceberg the same as a Titanic? Is being a retard who needs to be kept in an asylum is the same as a well functioning member of the society? No, it's not the fucking same thing you fucking piece of idiot retarded shit! 59 Naming/VariableNumber: { Enabled: false } # you're worse than autotools' checking whether strstr works in linear time 60 Security/Eval: { Enabled: false } 61 Security/MarshalLoad: { Enabled: false } # why don't you mark system/spawn at the same time? File.write with a user controlable filename? puts? the script's output might be redirected to shell, and that will execute it. object creation? it might cause memory exhaustion and lead to a DoS. 62 Security/Open: { Enabled: false } # I'm not calling Kernel#open, I'm calling my own open you fucking brainlet 63 Style/AccessModifierDeclarations: { Enabled: false } # use whatever style makes sense 64 Style/AccessorGrouping: { Enabled: false } 65 Style/AndOr: { Enabled: false } # they have different precedence you fucking retards 66 Style/BarePercentLiterals: { EnforcedStyle: percent_q } 67 Style/CaseEquality: { Enabled: false } 68 Style/CharacterLiteral: { Enabled: false } # why there isn't a reverse option 69 Style/ClassAndModuleChildren: { Enabled: false } # it's not style FFS, the two option mean two completely different things! 70 Style/ClassVars: { Enabled: false } # yes, I'm totally gonna type 120x more just to have a tiny little bit saner behavior 71 Style/CombinableLoops: { Enabled: false } # this cop should be called PleaseBreakMyCode 72 Style/CommentAnnotation: { Enabled: false } 73 Style/CommentedKeyword: { Enabled: false } 74 Style/DocumentDynamicEvalDefinition: { Enabled: false } # can't you just, you know, read? 75 Style/Documentation: { Enabled: false } 76 Style/DoubleNegation: { Enabled: false } # hey, don't use this feature, because negative IQ pajeets can misuse it! 77 Style/FetchEnvVar: { Enabled: false } # quoting docs: "Suggests ‘ENV.fetch` for the replacement of `ENV[]`. `ENV[]` silently fails and returns `nil` when the environment variable is unset" JESUS FUCKING CHRIST, ENV#[] works like every other [] operator in this fucking language, that's confusing!!!!!!!!111 Don't use it!!!1!!!!11111 78 Style/FormatString: { Enabled: false } # it depends which is best, retards 79 Style/FormatStringToken: { Enabled: false } # jesus fucking christ, what is your fucking problem 80 Style/GlobalVars: { Enabled: false } 81 Style/GuardClause: { Enabled: false } 82 Style/HashAsLastArrayItem: { EnforcedStyle: no_braces } 83 Style/KeywordParametersOrder: { Enabled: false } 84 Style/Lambda: { EnforcedStyle: literal } 85 Style/MethodDefParentheses: { EnforcedStyle: require_no_parentheses } 86 Style/MixinUsage: { Enabled: false } 87 Style/ModuleFunction: { EnforcedStyle: extend_self } 88 Style/MultilineBlockChain: { Enabled: false } # just why 89 Style/MultilineTernaryOperator: { Enabled: false } 90 Style/MultipleComparison: { Enabled: false } # yes, I'm totally gonna allocate a fucking array every time I want to write x == a || x == b, because ruby is not fucking slow as is, we have to make it worse and type more, just so some retards fragile ego will be better. 91 Style/NestedParenthesizedCalls: { Enabled: false } 92 Style/NestedTernaryOperator: { Enabled: false } # do you have negative IQ or what? 93 Style/NilComparison: { Enabled: false } 94 Style/NonNilCheck: { Enabled: false } 95 Style/NumericLiterals: { Enabled: false } 96 Style/NumericPredicate: { Enabled: false } # why do you want to turn ruby even more unreadable than brainfuck?! 97 Style/OpenStructUse: { Enabled: false } # the only real alternative is reimplementing it yourself with the same semantics... 98 Style/OptionalBooleanParameter: { Enabled: false } # shut the fuck up for fucks sake 99 Style/ParallelAssignment: { Enabled: false } 100 Style/PercentLiteralDelimiters: { Enabled: false } # can't specify multiple good 101 Style/PerlBackrefs: { Enabled: false } # why there's no reverse option? 102 Style/RedundantHeredocDelimiterQuotes: { Enabled: false } # rubocop: don't write "foo", write 'foo'. Also rubocop: dont't write <<'FOO', write <<FOO which is equivalent to double quoted strings. (ノ≧∇≦)ノ ミ ┸━┸ 103 Style/RedundantLineContinuation: { Enabled: false } # buggy (warns on `foo \\n "asd"`) 104 Style/RedundantReturn: { AllowMultipleReturnValues: true } 105 Style/RescueModifier: { Enabled: false } 106 Style/RescueStandardError: { EnforcedStyle: implicit } 107 Style/Semicolon: { Enabled: false } # another completely useless check because it warns even when the fucking semicolon is fucking required 108 Style/SignalException: { Enabled: false } 109 Style/SingleLineMethods: { Enabled: false } 110 Style/SpecialGlobalVars: { EnforcedStyle: use_perl_names } 111 Style/StabbyLambdaParentheses: { EnforcedStyle: require_no_parentheses } 112 Style/StderrPuts: { Enabled: false } 113 Style/StringConcatenation: { Enabled: false } 114 Style/SymbolArray: { MinSize: 5 } 115 Style/TernaryParentheses: { Enabled: false } # require_parentheses_when_complex would be the correct one, but x > 0 is considered a complex expression by this niggeroid crap 116 Style/TrailingCommaInArguments: { Enabled: false } # vv 117 Style/TrailingCommaInArrayLiteral: { Enabled: false } # whoever came up with the default value for this rule seriously need to see a doctor. Also all built-in styles suck (consistent_comma warns on [a,b,\nc,d], comma warns on [\na,b,\nc,d,\n], and the default no_comma is so braindead that it needs no explanation. Use JSON if you want that shit retard.) 118 Style/TrailingCommaInHashLiteral: { Enabled: false } # ^^ 119 Style/VariableInterpolation: { Enabled: false } # this is not pascal FFS 120 Style/WhenThen: { Enabled: false } # fuck you 121 122 123 # todo: figure something out about module A; module B; module C shit 124 Layout/EndAlignment: { Enabled: false } 125 Layout/IndentationWidth: { Enabled: false } 126 Style/TrailingBodyOnModule: { Enabled: false } 127 128 AllCops: 129 NewCops: enable 130 TargetRubyVersion: 3.2