|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2024-03-03 10:06:52 UTC using RuboCop version 1.60.2. |
| 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 | +# Configuration parameters: AllowedMethods, AllowedPatterns. |
| 11 | +Lint/NestedMethodDefinition: |
| 12 | + Exclude: |
| 13 | + - 'lib/caramelize/filters/textile_to_markdown.rb' |
| 14 | + |
| 15 | +# Offense count: 2 |
| 16 | +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. |
| 17 | +Metrics/AbcSize: |
| 18 | + Max: 79 |
| 19 | + |
| 20 | +# Offense count: 1 |
| 21 | +# Configuration parameters: CountComments, CountAsOne. |
| 22 | +Metrics/ClassLength: |
| 23 | + Max: 118 |
| 24 | + |
| 25 | +# Offense count: 1 |
| 26 | +# Configuration parameters: AllowedMethods, AllowedPatterns. |
| 27 | +Metrics/CyclomaticComplexity: |
| 28 | + Max: 9 |
| 29 | + |
| 30 | +# Offense count: 2 |
| 31 | +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
| 32 | +Metrics/MethodLength: |
| 33 | + Max: 102 |
| 34 | + |
| 35 | +# Offense count: 1 |
| 36 | +# Configuration parameters: AllowedMethods, AllowedPatterns. |
| 37 | +Metrics/PerceivedComplexity: |
| 38 | + Max: 9 |
| 39 | + |
| 40 | +# Offense count: 2 |
| 41 | +# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. |
| 42 | +# Include: **/*_spec*rb*, **/spec/**/* |
| 43 | +RSpec/FilePath: |
| 44 | + Exclude: |
| 45 | + - 'spec/lib/caramelize/filters/add_newline_to_page_end_spec.rb' |
| 46 | + - 'spec/lib/caramelize/filters/mediawiki_to_markdown_spec.rb' |
| 47 | + |
| 48 | +# Offense count: 2 |
| 49 | +# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. |
| 50 | +# Include: **/*_spec.rb |
| 51 | +RSpec/SpecFilePathFormat: |
| 52 | + Exclude: |
| 53 | + - '**/spec/routing/**/*' |
| 54 | + - 'spec/lib/caramelize/filters/add_newline_to_page_end_spec.rb' |
| 55 | + - 'spec/lib/caramelize/filters/mediawiki_to_markdown_spec.rb' |
0 commit comments