|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2026-03-24 03:26:08 UTC using RuboCop version 1.86.0. |
| 4 | +# The point is for the user to remove these configuration records |
| 5 | +# one by one as the offenses are removed from the code base. |
| 6 | +# Note that changes in the inspected code, or installation of new |
| 7 | +# versions of RuboCop, may require this file to be generated again. |
| 8 | + |
| 9 | +# Offense count: 1 |
| 10 | +# This cop supports safe autocorrection (--autocorrect). |
| 11 | +Gemspec/RequireMFA: |
| 12 | + Exclude: |
| 13 | + - 'termium.gemspec' |
| 14 | + |
| 15 | +# Offense count: 1 |
| 16 | +Gemspec/RequiredRubyVersion: |
| 17 | + Exclude: |
| 18 | + - 'termium.gemspec' |
| 19 | + |
| 20 | +# Offense count: 1 |
| 21 | +# This cop supports safe autocorrection (--autocorrect). |
| 22 | +# Configuration parameters: IndentationWidth. |
| 23 | +Layout/AssignmentIndentation: |
| 24 | + Exclude: |
| 25 | + - 'lib/termium/cli.rb' |
| 26 | + |
| 27 | +# Offense count: 1 |
| 28 | +# This cop supports safe autocorrection (--autocorrect). |
| 29 | +# Configuration parameters: EnforcedStyle. |
| 30 | +# SupportedStyles: empty_lines, no_empty_lines |
| 31 | +Layout/EmptyLinesAroundBlockBody: |
| 32 | + Exclude: |
| 33 | + - 'spec/termium_spec.rb' |
| 34 | + |
| 35 | +# Offense count: 1 |
| 36 | +# This cop supports safe autocorrection (--autocorrect). |
| 37 | +# Configuration parameters: EnforcedStyle. |
| 38 | +# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines |
| 39 | +Layout/EmptyLinesAroundModuleBody: |
| 40 | + Exclude: |
| 41 | + - 'lib/termium.rb' |
| 42 | + |
| 43 | +# Offense count: 1 |
| 44 | +# This cop supports safe autocorrection (--autocorrect). |
| 45 | +# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. |
| 46 | +# SupportedHashRocketStyles: key, separator, table |
| 47 | +# SupportedColonStyles: key, separator, table |
| 48 | +# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit |
| 49 | +Layout/HashAlignment: |
| 50 | + Exclude: |
| 51 | + - 'lib/termium/cli.rb' |
| 52 | + |
| 53 | +# Offense count: 1 |
| 54 | +# This cop supports safe autocorrection (--autocorrect). |
| 55 | +# Configuration parameters: EnforcedStyle. |
| 56 | +# SupportedStyles: normal, indented_internal_methods |
| 57 | +Layout/IndentationConsistency: |
| 58 | + Exclude: |
| 59 | + - 'termium.gemspec' |
| 60 | + |
| 61 | +# Offense count: 1 |
| 62 | +# This cop supports safe autocorrection (--autocorrect). |
| 63 | +# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment, AllowRBSInlineAnnotation, AllowSteepAnnotation. |
| 64 | +Layout/LeadingCommentSpace: |
| 65 | + Exclude: |
| 66 | + - 'Rakefile' |
| 67 | + |
| 68 | +# Offense count: 15 |
| 69 | +# This cop supports safe autocorrection (--autocorrect). |
| 70 | +# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings. |
| 71 | +# URISchemes: http, https |
| 72 | +Layout/LineLength: |
| 73 | + Exclude: |
| 74 | + - 'lib/termium/cli.rb' |
| 75 | + - 'lib/termium/core.rb' |
| 76 | + - 'lib/termium/language_module.rb' |
| 77 | + - 'lib/termium/subject.rb' |
| 78 | + - 'lib/termium/textual_support.rb' |
| 79 | + - 'spec/termium_spec.rb' |
| 80 | + - 'termium.gemspec' |
| 81 | + |
| 82 | +# Offense count: 1 |
| 83 | +# This cop supports safe autocorrection (--autocorrect). |
| 84 | +# Configuration parameters: EnforcedStyle. |
| 85 | +# SupportedStyles: final_newline, final_blank_line |
| 86 | +Layout/TrailingEmptyLines: |
| 87 | + Exclude: |
| 88 | + - 'lib/termium.rb' |
| 89 | + |
| 90 | +# Offense count: 2 |
| 91 | +# This cop supports safe autocorrection (--autocorrect). |
| 92 | +# Configuration parameters: AllowInHeredoc. |
| 93 | +Layout/TrailingWhitespace: |
| 94 | + Exclude: |
| 95 | + - 'lib/termium/cli.rb' |
| 96 | + |
| 97 | +# Offense count: 3 |
| 98 | +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max. |
| 99 | +Metrics/AbcSize: |
| 100 | + Exclude: |
| 101 | + - 'lib/termium/cli.rb' |
| 102 | + - 'lib/termium/core.rb' |
| 103 | + - 'lib/termium/entry_term.rb' |
| 104 | + |
| 105 | +# Offense count: 4 |
| 106 | +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
| 107 | +Metrics/MethodLength: |
| 108 | + Max: 23 |
| 109 | + |
| 110 | +# Offense count: 2 |
| 111 | +# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates. |
| 112 | +# AllowedMethods: call |
| 113 | +# WaywardPredicates: infinite?, nonzero? |
| 114 | +Naming/PredicateMethod: |
| 115 | + Exclude: |
| 116 | + - 'lib/termium/abbreviation.rb' |
| 117 | + - 'lib/termium/entry_term.rb' |
| 118 | + |
| 119 | +# Offense count: 4 |
| 120 | +# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros, UseSorbetSigs. |
| 121 | +# NamePrefix: is_, has_, have_, does_ |
| 122 | +# ForbiddenPrefixes: is_, has_, have_, does_ |
| 123 | +# AllowedMethods: is_a? |
| 124 | +# MethodDefinitionMacros: define_method, define_singleton_method |
| 125 | +Naming/PredicatePrefix: |
| 126 | + Exclude: |
| 127 | + - 'lib/termium/textual_support.rb' |
| 128 | + |
| 129 | +# Offense count: 4 |
| 130 | +# This cop supports safe autocorrection (--autocorrect). |
| 131 | +RSpec/EmptyLineAfterFinalLet: |
| 132 | + Exclude: |
| 133 | + - 'spec/termium/extract_spec.rb' |
| 134 | + - 'spec/termium_spec.rb' |
| 135 | + |
| 136 | +# Offense count: 1 |
| 137 | +# Configuration parameters: CountAsOne. |
| 138 | +RSpec/ExampleLength: |
| 139 | + Max: 8 |
| 140 | + |
| 141 | +# Offense count: 1 |
| 142 | +# Configuration parameters: AllowedPatterns. |
| 143 | +# AllowedPatterns: ^expect_, ^assert_ |
| 144 | +RSpec/NoExpectationExample: |
| 145 | + Exclude: |
| 146 | + - 'spec/termium_spec.rb' |
| 147 | + |
| 148 | +# Offense count: 2 |
| 149 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 150 | +Security/IoMethods: |
| 151 | + Exclude: |
| 152 | + - 'lib/termium/cli.rb' |
| 153 | + - 'spec/termium_spec.rb' |
| 154 | + |
| 155 | +# Offense count: 1 |
| 156 | +Style/ItAssignment: |
| 157 | + Exclude: |
| 158 | + - 'spec/spec_helper.rb' |
| 159 | + |
| 160 | +# Offense count: 4 |
| 161 | +# This cop supports safe autocorrection (--autocorrect). |
| 162 | +Style/RedundantFreeze: |
| 163 | + Exclude: |
| 164 | + - 'lib/termium/source.rb' |
| 165 | + - 'lib/termium/textual_support.rb' |
| 166 | + |
| 167 | +# Offense count: 2 |
| 168 | +# This cop supports safe autocorrection (--autocorrect). |
| 169 | +# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. |
| 170 | +# SupportedStyles: single_quotes, double_quotes |
| 171 | +Style/StringLiterals: |
| 172 | + Exclude: |
| 173 | + - 'termium.gemspec' |
| 174 | + |
| 175 | +# Offense count: 1 |
| 176 | +# This cop supports safe autocorrection (--autocorrect). |
| 177 | +# Configuration parameters: EnforcedStyleForMultiline. |
| 178 | +# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma |
| 179 | +Style/TrailingCommaInArguments: |
| 180 | + Exclude: |
| 181 | + - 'spec/support/shared_examples.rb' |
| 182 | + |
| 183 | +# Offense count: 2 |
| 184 | +# This cop supports safe autocorrection (--autocorrect). |
| 185 | +# Configuration parameters: EnforcedStyleForMultiline. |
| 186 | +# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma |
| 187 | +Style/TrailingCommaInHashLiteral: |
| 188 | + Exclude: |
| 189 | + - 'lib/termium/designation_operations.rb' |
0 commit comments