forked from bcdice/BCDice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
102 lines (86 loc) · 3.15 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-08-30 07:56:14 UTC using RuboCop version 0.89.1.
# 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: 359
# Configuration parameters: IgnoredMethods.
Metrics/AbcSize:
Max: 360
# Offense count: 11
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 51
# Offense count: 11
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 4
# Offense count: 137
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 3400
# Offense count: 203
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 130
# Offense count: 1124
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods.
Metrics/MethodLength:
Max: 2000
# Offense count: 15
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 8
# Offense count: 140
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 60
# Offense count: 201
Naming/AccessorMethodName:
Enabled: false
# Offense count: 29
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
Naming/BlockParameterName:
Enabled: false
# Offense count: 21
# Configuration parameters: AllowedNames.
# AllowedNames: module_parent
Naming/ClassAndModuleCamelCase:
Enabled: false
# Offense count: 205
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, 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:
Enabled: false
# Offense count: 1484
# Configuration parameters: EnforcedStyle, IgnoredPatterns.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
Enabled: false
# Offense count: 377
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Enabled: false
# Offense count: 10
# Configuration parameters: AllowIfModifier.
Style/IfInsideElse:
Exclude:
- 'lib/bcdice/game_system/Alsetto.rb'
- 'lib/bcdice/game_system/Cthulhu.rb'
- 'lib/bcdice/game_system/Cthulhu7th.rb'
- 'lib/bcdice/game_system/Cthulhu7th_ChineseTraditional.rb'
- 'lib/bcdice/game_system/Cthulhu7th_Korean.rb'
- 'lib/bcdice/game_system/Cthulhu_ChineseTraditional.rb'
- 'lib/bcdice/game_system/Cthulhu_Korean.rb'
- 'lib/bcdice/game_system/GurpsFW.rb'
- 'lib/bcdice/game_system/SharedFantasia.rb'
# Offense count: 1289
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 460