/ .rubocop.yml
.rubocop.yml
1 AllCops: 2 TargetRubyVersion: 3.1 3 SuggestExtensions: false 4 DisabledByDefault: true 5 Exclude: 6 - build/**/* 7 - docs/**/* 8 Include: 9 - common/**/*.rb 10 - backend/**/*.rb 11 - frontend/**/*.rb 12 - public/**/*.rb 13 - oai/**/*.rb 14 15 Layout/AccessModifierIndentation: 16 Enabled: true 17 18 Layout/BeginEndAlignment: 19 Enabled: true 20 21 Layout/CaseIndentation: 22 Enabled: true 23 24 Layout/ConditionPosition: 25 Enabled: true 26 27 Layout/DefEndAlignment: 28 Enabled: true 29 30 Layout/ElseAlignment: 31 Enabled: true 32 33 Layout/EmptyComment: 34 Enabled: true 35 36 Layout/EmptyLineAfterMultilineCondition: 37 Enabled: true 38 39 Layout/EmptyLineBetweenDefs: 40 Enabled: true 41 NumberOfEmptyLines: [1,2] 42 43 Layout/EmptyLinesAroundAccessModifier: 44 Enabled: true 45 46 Layout/EmptyLinesAroundArguments: 47 Enabled: true 48 49 Layout/EmptyLinesAroundAttributeAccessor: 50 Enabled: true 51 52 Layout/EmptyLinesAroundBeginBody: 53 Enabled: true 54 55 Layout/EmptyLinesAroundClassBody: 56 Enabled: false 57 58 Layout/EmptyLinesAroundMethodBody: 59 Enabled: true 60 61 Layout/EndAlignment: 62 Enabled: true 63 64 Layout/EndOfLine: 65 Enabled: true 66 EnforcedStyle: lf 67 68 Layout/ExtraSpacing: 69 Enabled: true 70 AllowBeforeTrailingComments: true 71 72 Layout/HeredocIndentation: 73 Enabled: true 74 75 Layout/IndentationConsistency: 76 Enabled: true 77 78 Layout/IndentationStyle: 79 Enabled: true 80 81 Layout/IndentationWidth: 82 Enabled: true 83 84 Layout/InitialIndentation: 85 Enabled: true 86 87 Layout/RescueEnsureAlignment: 88 Enabled: true 89 90 Layout/SpaceAfterColon: 91 Enabled: true 92 93 Layout/SpaceAfterComma: 94 Enabled: true 95 96 Layout/SpaceAfterSemicolon: 97 Enabled: true 98 99 Layout/SpaceAroundBlockParameters: 100 Enabled: true 101 102 Layout/SpaceAroundKeyword: 103 Enabled: true 104 105 Layout/SpaceAroundMethodCallOperator: 106 Enabled: true 107 108 Layout/SpaceBeforeBlockBraces: 109 Enabled: true 110 111 Layout/SpaceInsideArrayPercentLiteral: 112 Enabled: true 113 114 Layout/SpaceInsideRangeLiteral: 115 Enabled: true 116 117 Layout/TrailingEmptyLines: 118 Enabled: true 119 120 Layout/TrailingWhitespace: 121 Enabled: true 122 AllowInHeredoc: true 123 124 Lint/Syntax: 125 Enabled: true 126 127 Metrics/MethodLength: 128 Enabled: false 129 Max: 100 130 131 Style/ArrayCoercion: 132 Enabled: true 133 134 Style/CharacterLiteral: 135 Enabled: true 136 137 Style/ClassCheck: 138 Enabled: true