rubocop: Generate code cleanup todo list
This commit is contained in:
parent
a01a15ef47
commit
b180541f16
1
.rubocop.yml
Normal file
1
.rubocop.yml
Normal file
@ -0,0 +1 @@
|
||||
inherit_from: .rubocop_todo.yml
|
||||
878
.rubocop_todo.yml
Normal file
878
.rubocop_todo.yml
Normal file
@ -0,0 +1,878 @@
|
||||
# This configuration was generated by
|
||||
# `rubocop --auto-gen-config`
|
||||
# on 2019-01-02 16:42:51 -0600 using RuboCop version 0.62.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: 3
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: TreatCommentsAsGroupSeparators, Include.
|
||||
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
|
||||
Bundler/OrderedGems:
|
||||
Exclude:
|
||||
- 'Gemfile'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyleAlignWith.
|
||||
# SupportedStylesAlignWith: either, start_of_block, start_of_line
|
||||
Layout/BlockAlignment:
|
||||
Exclude:
|
||||
- '_plugins/autocrossref.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Layout/ClosingParenthesisIndentation:
|
||||
Exclude:
|
||||
- '_contrib/bco-htmlproof'
|
||||
|
||||
# Offense count: 4
|
||||
# Cop supports --auto-correct.
|
||||
Layout/CommentIndentation:
|
||||
Exclude:
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
|
||||
# Offense count: 33
|
||||
# Cop supports --auto-correct.
|
||||
Layout/EmptyLineAfterGuardClause:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_contrib/jshint'
|
||||
- '_contrib/updatetx.rb'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/releases.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/templates.rb'
|
||||
- '_plugins/translate.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 7
|
||||
# Cop supports --auto-correct.
|
||||
Layout/EmptyLines:
|
||||
Exclude:
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/githubify.rb'
|
||||
- '_plugins/inline-template.rb'
|
||||
- '_plugins/liquid-die.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Layout/EmptyLinesAroundArguments:
|
||||
Exclude:
|
||||
- '_contrib/bco-htmlproof'
|
||||
|
||||
# Offense count: 8
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: empty_lines, no_empty_lines
|
||||
Layout/EmptyLinesAroundBlockBody:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 16
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
||||
Layout/EmptyLinesAroundClassBody:
|
||||
Exclude:
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/githubify.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/inline-template.rb'
|
||||
- '_plugins/liquid-die.rb'
|
||||
- '_plugins/liquid-warn.rb'
|
||||
- '_plugins/releases.rb'
|
||||
- '_plugins/translate.rb'
|
||||
|
||||
# Offense count: 9
|
||||
# Cop supports --auto-correct.
|
||||
Layout/EmptyLinesAroundMethodBody:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/redirects.rb'
|
||||
- '_plugins/releases.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 32
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
|
||||
Layout/EmptyLinesAroundModuleBody:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
||||
Layout/ExtraSpacing:
|
||||
Exclude:
|
||||
- '_plugins/autocrossref.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
# SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
|
||||
Layout/FirstParameterIndentation:
|
||||
Exclude:
|
||||
- '_contrib/bco-htmlproof'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: IndentationWidth.
|
||||
Layout/IndentAssignment:
|
||||
Exclude:
|
||||
- '_plugins/glossary.rb'
|
||||
|
||||
# Offense count: 5
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
||||
Layout/IndentHash:
|
||||
Exclude:
|
||||
- '_contrib/bco-htmlproof'
|
||||
- '_plugins/glossary.rb'
|
||||
|
||||
# Offense count: 9
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: normal, rails
|
||||
Layout/IndentationConsistency:
|
||||
Exclude:
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/githubify.rb'
|
||||
- '_plugins/inline-template.rb'
|
||||
|
||||
# Offense count: 61
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: Width, IgnoredPatterns.
|
||||
Layout/IndentationWidth:
|
||||
Exclude:
|
||||
- '_build/txpreview/addlang.rb'
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_contrib/updatetx.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/githubify.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/include_absolute.rb'
|
||||
- '_plugins/inline-template.rb'
|
||||
- '_plugins/liquid-die.rb'
|
||||
- '_plugins/liquid-warn.rb'
|
||||
|
||||
# Offense count: 106
|
||||
# Cop supports --auto-correct.
|
||||
Layout/LeadingCommentSpace:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Layout/MultilineBlockLayout:
|
||||
Exclude:
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
||||
Layout/MultilineMethodCallIndentation:
|
||||
Exclude:
|
||||
- '_plugins/include_absolute.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
# SupportedStyles: aligned, indented
|
||||
Layout/MultilineOperationIndentation:
|
||||
Exclude:
|
||||
- '_plugins/glossary.rb'
|
||||
|
||||
# Offense count: 49
|
||||
# Cop supports --auto-correct.
|
||||
Layout/SpaceAfterComma:
|
||||
Exclude:
|
||||
- '_build/txpreview/addlang.rb'
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_contrib/updatetx.rb'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/inline-template.rb'
|
||||
- '_plugins/redirects.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/templates.rb'
|
||||
- '_plugins/translate.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Layout/SpaceAfterNot:
|
||||
Exclude:
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
|
||||
# Offense count: 8
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyleInsidePipes.
|
||||
# SupportedStylesInsidePipes: space, no_space
|
||||
Layout/SpaceAroundBlockParameters:
|
||||
Exclude:
|
||||
- '_plugins/glossary.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Layout/SpaceAroundKeyword:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
|
||||
# Offense count: 67
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowForAlignment.
|
||||
Layout/SpaceAroundOperators:
|
||||
Exclude:
|
||||
- '_contrib/bco-htmlproof'
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_contrib/jshint'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/inline-template.rb'
|
||||
- '_plugins/releases.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/templates.rb'
|
||||
- '_plugins/translate.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 7
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
||||
# SupportedStyles: space, no_space
|
||||
# SupportedStylesForEmptyBraces: space, no_space
|
||||
Layout/SpaceBeforeBlockBraces:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/githubify.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/releases.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
||||
# SupportedStyles: space, no_space, compact
|
||||
# SupportedStylesForEmptyBrackets: space, no_space
|
||||
Layout/SpaceInsideArrayLiteralBrackets:
|
||||
Exclude:
|
||||
- '_contrib/updatetx.rb'
|
||||
|
||||
# Offense count: 13
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
||||
# SupportedStyles: space, no_space
|
||||
# SupportedStylesForEmptyBraces: space, no_space
|
||||
Layout/SpaceInsideBlockBraces:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/releases.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
||||
# SupportedStyles: space, no_space, compact
|
||||
# SupportedStylesForEmptyBraces: space, no_space
|
||||
Layout/SpaceInsideHashLiteralBraces:
|
||||
Exclude:
|
||||
- '_plugins/events.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: space, no_space
|
||||
Layout/SpaceInsideParens:
|
||||
Exclude:
|
||||
- '_plugins/liquid-die.rb'
|
||||
|
||||
# Offense count: 56
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: IndentationWidth.
|
||||
Layout/Tab:
|
||||
Exclude:
|
||||
- '_build/txpreview/addlang.rb'
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
|
||||
# Offense count: 4
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowInHeredoc.
|
||||
Layout/TrailingWhitespace:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
|
||||
# Offense count: 1
|
||||
Lint/AmbiguousRegexpLiteral:
|
||||
Exclude:
|
||||
- '_plugins/env.rb'
|
||||
|
||||
# Offense count: 5
|
||||
# Cop supports --auto-correct.
|
||||
Lint/DeprecatedClassMethods:
|
||||
Exclude:
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
|
||||
# Offense count: 1
|
||||
Lint/LiteralAsCondition:
|
||||
Exclude:
|
||||
- '_plugins/inline-template.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Lint/ScriptPermission:
|
||||
Exclude:
|
||||
- '_build/txpreview/addlang.rb'
|
||||
- '_contrib/jshint'
|
||||
|
||||
# Offense count: 7
|
||||
Lint/ShadowingOuterLocalVariable:
|
||||
Exclude:
|
||||
- '_contrib/updatetx.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/translate.rb'
|
||||
|
||||
# Offense count: 10
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
||||
Lint/UnusedBlockArgument:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/templates.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
||||
Lint/UnusedMethodArgument:
|
||||
Exclude:
|
||||
- '_plugins/liquid-die.rb'
|
||||
- '_plugins/liquid-warn.rb'
|
||||
|
||||
# Offense count: 5
|
||||
Lint/UselessAssignment:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/inline-template.rb'
|
||||
- '_plugins/releases.rb'
|
||||
|
||||
# Offense count: 20
|
||||
Metrics/AbcSize:
|
||||
Max: 136
|
||||
|
||||
# Offense count: 4
|
||||
# Configuration parameters: CountComments, ExcludedMethods.
|
||||
# ExcludedMethods: refine
|
||||
Metrics/BlockLength:
|
||||
Max: 45
|
||||
|
||||
# Offense count: 1
|
||||
# Configuration parameters: CountComments.
|
||||
Metrics/ClassLength:
|
||||
Max: 105
|
||||
|
||||
# Offense count: 14
|
||||
Metrics/CyclomaticComplexity:
|
||||
Max: 25
|
||||
|
||||
# Offense count: 21
|
||||
# Configuration parameters: CountComments, ExcludedMethods.
|
||||
Metrics/MethodLength:
|
||||
Max: 66
|
||||
|
||||
# Offense count: 6
|
||||
# Configuration parameters: CountKeywordArgs.
|
||||
Metrics/ParameterLists:
|
||||
Max: 8
|
||||
|
||||
# Offense count: 13
|
||||
Metrics/PerceivedComplexity:
|
||||
Max: 25
|
||||
|
||||
# Offense count: 3
|
||||
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
||||
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
||||
Naming/FileName:
|
||||
Exclude:
|
||||
- '_plugins/inline-template.rb'
|
||||
- '_plugins/liquid-die.rb'
|
||||
- '_plugins/liquid-warn.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
||||
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
||||
Naming/UncommunicativeMethodParamName:
|
||||
Exclude:
|
||||
- '_plugins/releases.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 13
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: snake_case, camelCase
|
||||
Naming/VariableName:
|
||||
Exclude:
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Performance/RegexpMatch:
|
||||
Exclude:
|
||||
- '_plugins/include_absolute.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Performance/StringReplacement:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/inline-template.rb'
|
||||
|
||||
# Offense count: 3
|
||||
Security/MarshalLoad:
|
||||
Exclude:
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
|
||||
# Offense count: 2
|
||||
Security/Open:
|
||||
Exclude:
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Security/YAMLLoad:
|
||||
Exclude:
|
||||
- '_plugins/inline-template.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: prefer_alias, prefer_alias_method
|
||||
Style/Alias:
|
||||
Exclude:
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
|
||||
# Offense count: 54
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: always, conditionals
|
||||
Style/AndOr:
|
||||
Exclude:
|
||||
- '_contrib/updatetx.rb'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/githubify.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/redirects.rb'
|
||||
- '_plugins/releases.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/templates.rb'
|
||||
- '_plugins/translate.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 19
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods.
|
||||
# SupportedStyles: line_count_based, semantic, braces_for_chaining
|
||||
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
||||
# FunctionalMethods: let, let!, subject, watch
|
||||
# IgnoredMethods: lambda, proc, it
|
||||
Style/BlockDelimiters:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/githubify.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
|
||||
# Offense count: 7
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: braces, no_braces, context_dependent
|
||||
Style/BracesAroundHashParameters:
|
||||
Exclude:
|
||||
- '_contrib/bco-htmlproof'
|
||||
- '_plugins/env.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/htmlescape.rb'
|
||||
|
||||
# Offense count: 5
|
||||
# Cop supports --auto-correct.
|
||||
Style/ColonMethodCall:
|
||||
Exclude:
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/translate.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: Keywords.
|
||||
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
|
||||
Style/CommentAnnotation:
|
||||
Exclude:
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/releases.rb'
|
||||
|
||||
# Offense count: 9
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
||||
# SupportedStyles: assign_to_condition, assign_inside_condition
|
||||
Style/ConditionalAssignment:
|
||||
Exclude:
|
||||
- '_contrib/bco-htmlproof'
|
||||
- '_contrib/jshint'
|
||||
- '_contrib/updatetx.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Style/DefWithParentheses:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
|
||||
# Offense count: 38
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Style/EmptyLiteral:
|
||||
Exclude:
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
|
||||
# Offense count: 7
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: each, for
|
||||
Style/For:
|
||||
Exclude:
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/translate.rb'
|
||||
|
||||
# Offense count: 27
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: when_needed, always, never
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 5
|
||||
# Configuration parameters: MinBodyLength.
|
||||
Style/GuardClause:
|
||||
Exclude:
|
||||
- '_build/txpreview/addlang.rb'
|
||||
- '_plugins/include_absolute.rb'
|
||||
- '_plugins/releases.rb'
|
||||
|
||||
# Offense count: 6
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
||||
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
||||
Style/HashSyntax:
|
||||
EnforcedStyle: hash_rockets
|
||||
|
||||
# Offense count: 23
|
||||
# Cop supports --auto-correct.
|
||||
Style/IfUnlessModifier:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/include_absolute.rb'
|
||||
- '_plugins/redirects.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/templates.rb'
|
||||
- '_plugins/translate.rb'
|
||||
|
||||
# Offense count: 11
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: IgnoredMethods.
|
||||
Style/MethodCallWithoutArgsParentheses:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_contrib/schema-validator.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/githubify.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/inline-template.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
|
||||
# Offense count: 14
|
||||
Style/MultipleComparison:
|
||||
Exclude:
|
||||
- '_contrib/updatetx.rb'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/releases.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/templates.rb'
|
||||
- '_plugins/translate.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Style/MutableConstant:
|
||||
Exclude:
|
||||
- '_plugins/include_absolute.rb'
|
||||
|
||||
# Offense count: 26
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: both, prefix, postfix
|
||||
Style/NegatedIf:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_contrib/jshint'
|
||||
- '_contrib/updatetx.rb'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/include_absolute.rb'
|
||||
- '_plugins/redirects.rb'
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/templates.rb'
|
||||
- '_plugins/translate.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, MinBodyLength.
|
||||
# SupportedStyles: skip_modifier_ifs, always
|
||||
Style/Next:
|
||||
Exclude:
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 4
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: Strict.
|
||||
Style/NumericLiterals:
|
||||
MinDigits: 8
|
||||
|
||||
# Offense count: 5
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
|
||||
# SupportedStyles: predicate, comparison
|
||||
Style/NumericPredicate:
|
||||
Exclude:
|
||||
- 'spec/**/*'
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
|
||||
Style/ParenthesesAroundCondition:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Style/PerlBackrefs:
|
||||
Exclude:
|
||||
- '_plugins/githubify.rb'
|
||||
|
||||
# Offense count: 24
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: short, verbose
|
||||
Style/PreferredHashMethods:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/releases.rb'
|
||||
- '_plugins/translate.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Style/RedundantParentheses:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
|
||||
# Offense count: 4
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowMultipleReturnValues.
|
||||
Style/RedundantReturn:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/alphab_for.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/releases.rb'
|
||||
|
||||
# Offense count: 82
|
||||
# Cop supports --auto-correct.
|
||||
Style/RedundantSelf:
|
||||
Exclude:
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/redirects.rb'
|
||||
- '_plugins/releases.rb'
|
||||
- '_plugins/templates.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 11
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
||||
# SupportedStyles: slashes, percent_r, mixed
|
||||
Style/RegexpLiteral:
|
||||
Exclude:
|
||||
- '_contrib/bco-htmlproof'
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_plugins/autocrossref.rb'
|
||||
- '_plugins/include_absolute.rb'
|
||||
- '_plugins/templates.rb'
|
||||
|
||||
# Offense count: 4
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: implicit, explicit
|
||||
Style/RescueStandardError:
|
||||
Exclude:
|
||||
- '_plugins/contributors.rb'
|
||||
- '_plugins/events.rb'
|
||||
- '_plugins/include_absolute.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Style/SelfAssignment:
|
||||
Exclude:
|
||||
- '_plugins/templates.rb'
|
||||
|
||||
# Offense count: 5
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowAsExpressionSeparator.
|
||||
Style/Semicolon:
|
||||
Exclude:
|
||||
- '_plugins/sitemap.rb'
|
||||
- '_plugins/templates.rb'
|
||||
- '_plugins/wallets.rb'
|
||||
|
||||
# Offense count: 110
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
||||
# SupportedStyles: single_quotes, double_quotes
|
||||
Style/StringLiterals:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: IgnoredMethods.
|
||||
# IgnoredMethods: respond_to, define_method
|
||||
Style/SymbolProc:
|
||||
Exclude:
|
||||
- '_plugins/releases.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyleForMultiline.
|
||||
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
||||
Style/TrailingCommaInHashLiteral:
|
||||
Exclude:
|
||||
- '_contrib/bco-htmlproof'
|
||||
|
||||
# Offense count: 7
|
||||
# Cop supports --auto-correct.
|
||||
Style/UnneededCondition:
|
||||
Exclude:
|
||||
- '_plugins/env.rb'
|
||||
- '_plugins/glossary.rb'
|
||||
- '_plugins/releases.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Style/UnneededInterpolation:
|
||||
Exclude:
|
||||
- '_plugins/markdown.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Style/WhileUntilDo:
|
||||
Exclude:
|
||||
- '_plugins/contributors.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: MinSize, WordRegex.
|
||||
# SupportedStyles: percent, brackets
|
||||
Style/WordArray:
|
||||
EnforcedStyle: brackets
|
||||
|
||||
# Offense count: 6
|
||||
# Cop supports --auto-correct.
|
||||
Style/ZeroLengthPredicate:
|
||||
Exclude:
|
||||
- '_contrib/comparelinks.rb'
|
||||
- '_contrib/jshint'
|
||||
- '_plugins/alerts.rb'
|
||||
- '_plugins/contributors.rb'
|
||||
|
||||
# Offense count: 108
|
||||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
||||
# URISchemes: http, https
|
||||
Metrics/LineLength:
|
||||
Max: 237
|
||||
Loading…
Reference in New Issue
Block a user