130 lines
3.9 KiB
YAML
130 lines
3.9 KiB
YAML
|
# This configuration was generated by
|
||
|
# `rubocop --auto-gen-config`
|
||
|
# on 2024-10-18 14:41:13 UTC using RuboCop version 1.67.0.
|
||
|
# The point is for the user to remove these configuration records
|
||
|
# one by one as the offenses are removed from the code base.
|
||
|
# Note that changes in the inspected code, or installation of new
|
||
|
# versions of RuboCop, may require this file to be generated again.
|
||
|
|
||
|
# Offense count: 2
|
||
|
# This cop supports safe autocorrection (--autocorrect).
|
||
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||
|
# SupportedStyles: with_first_argument, with_fixed_indentation
|
||
|
Layout/ArgumentAlignment:
|
||
|
Exclude:
|
||
|
- 'Rakefile'
|
||
|
|
||
|
# Offense count: 1
|
||
|
# This cop supports safe autocorrection (--autocorrect).
|
||
|
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
||
|
# URISchemes: http, https
|
||
|
Layout/LineLength:
|
||
|
Exclude:
|
||
|
- 'lib/repubmark/elems/footnote.rb'
|
||
|
|
||
|
# Offense count: 1
|
||
|
# This cop supports safe autocorrection (--autocorrect).
|
||
|
# Configuration parameters: AllowedMethods.
|
||
|
# AllowedMethods: present?, blank?, presence, try, try!, in?
|
||
|
Lint/SafeNavigationChain:
|
||
|
Exclude:
|
||
|
- 'lib/repubmark/elems/article.rb'
|
||
|
|
||
|
# Offense count: 1
|
||
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
||
|
Metrics/AbcSize:
|
||
|
Max: 35
|
||
|
|
||
|
# Offense count: 1
|
||
|
# Configuration parameters: CountComments, CountAsOne.
|
||
|
Metrics/ClassLength:
|
||
|
Max: 104
|
||
|
|
||
|
# Offense count: 1
|
||
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
||
|
Metrics/CyclomaticComplexity:
|
||
|
Max: 10
|
||
|
|
||
|
# Offense count: 5
|
||
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
||
|
Metrics/MethodLength:
|
||
|
Max: 33
|
||
|
|
||
|
# Offense count: 1
|
||
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
||
|
Metrics/PerceivedComplexity:
|
||
|
Max: 11
|
||
|
|
||
|
# Offense count: 2
|
||
|
Performance/MapMethodChain:
|
||
|
Exclude:
|
||
|
- 'lib/repubmark/elems/footnotes_category.rb'
|
||
|
|
||
|
# Offense count: 14
|
||
|
# This cop supports safe autocorrection (--autocorrect).
|
||
|
# Configuration parameters: AllowOnlyRestArgument, UseAnonymousForwarding, RedundantRestArgumentNames, RedundantKeywordRestArgumentNames, RedundantBlockArgumentNames.
|
||
|
# RedundantRestArgumentNames: args, arguments
|
||
|
# RedundantKeywordRestArgumentNames: kwargs, options, opts
|
||
|
# RedundantBlockArgumentNames: blk, block, proc
|
||
|
Style/ArgumentsForwarding:
|
||
|
Exclude:
|
||
|
- 'lib/repubmark/elems/canvas.rb'
|
||
|
- 'lib/repubmark/elems/footnotes_category.rb'
|
||
|
- 'lib/repubmark/elems/joint.rb'
|
||
|
- 'lib/repubmark/elems/link.rb'
|
||
|
|
||
|
# Offense count: 34
|
||
|
# Configuration parameters: AllowedConstants.
|
||
|
Style/Documentation:
|
||
|
Enabled: false
|
||
|
|
||
|
# Offense count: 7
|
||
|
# Configuration parameters: AllowedVariables.
|
||
|
Style/GlobalVars:
|
||
|
Exclude:
|
||
|
- 'exe/repubmark'
|
||
|
|
||
|
# Offense count: 1
|
||
|
# This cop supports safe autocorrection (--autocorrect).
|
||
|
# Configuration parameters: AllowIfModifier.
|
||
|
Style/IfInsideElse:
|
||
|
Exclude:
|
||
|
- 'lib/repubmark/elems/footnote.rb'
|
||
|
|
||
|
# Offense count: 4
|
||
|
# This cop supports safe autocorrection (--autocorrect).
|
||
|
Style/RedundantFreeze:
|
||
|
Exclude:
|
||
|
- 'lib/repubmark/elems/fraction.rb'
|
||
|
- 'lib/repubmark/elems/power.rb'
|
||
|
|
||
|
# Offense count: 2
|
||
|
# This cop supports safe autocorrection (--autocorrect).
|
||
|
Style/RedundantStringEscape:
|
||
|
Exclude:
|
||
|
- 'lib/repubmark/elems/footnote.rb'
|
||
|
|
||
|
# Offense count: 1
|
||
|
# This cop supports safe autocorrection (--autocorrect).
|
||
|
# Configuration parameters: AllowModifier.
|
||
|
Style/SoleNestedConditional:
|
||
|
Exclude:
|
||
|
- 'lib/repubmark/elems/footnote.rb'
|
||
|
|
||
|
# Offense count: 7
|
||
|
# This cop supports safe autocorrection (--autocorrect).
|
||
|
Style/SuperArguments:
|
||
|
Exclude:
|
||
|
- 'lib/repubmark/elems/annotation.rb'
|
||
|
- 'lib/repubmark/elems/blockquote.rb'
|
||
|
- 'lib/repubmark/elems/canvas.rb'
|
||
|
- 'lib/repubmark/elems/caption.rb'
|
||
|
- 'lib/repubmark/elems/figures.rb'
|
||
|
- 'lib/repubmark/elems/joint.rb'
|
||
|
- 'lib/repubmark/elems/paragraph.rb'
|
||
|
|
||
|
# Offense count: 24
|
||
|
# This cop supports safe autocorrection (--autocorrect).
|
||
|
Style/SuperWithArgsParentheses:
|
||
|
Enabled: false
|