forked from bcdice/BCDice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
104 lines (89 loc) · 3.65 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
103
104
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-11-16 00:51:25 UTC using RuboCop version 1.39.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: 320
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 267
# Offense count: 6
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 50
# Offense count: 1
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 4
# Offense count: 158
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 2103
# Offense count: 180
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 66
# Offense count: 700
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/MethodLength:
Max: 844
# Offense count: 15
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
Max: 8
# Offense count: 134
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 37
# Offense count: 26
Naming/AccessorMethodName:
Exclude:
- 'lib/bcdice/game_system/Insane.rb'
- 'lib/bcdice/game_system/KanColle.rb'
- 'lib/bcdice/game_system/KemonoNoMori.rb'
- 'lib/bcdice/game_system/MetalHeadExtream.rb'
- 'lib/bcdice/game_system/Paradiso.rb'
- 'lib/bcdice/game_system/ParasiteBlood.rb'
- 'lib/bcdice/game_system/Postman.rb'
- 'lib/bcdice/game_system/Strave.rb'
- 'lib/bcdice/game_system/SwordWorld2_0.rb'
- 'lib/bcdice/game_system/SwordWorld2_5.rb'
# Offense count: 7
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
Naming/BlockParameterName:
Exclude:
- 'lib/bcdice/game_system/BattleTech.rb'
- 'lib/bcdice/game_system/BlindMythos.rb'
- 'lib/bcdice/game_system/EarthDawn3.rb'
- 'lib/bcdice/game_system/RecordOfSteam.rb'
- 'lib/bcdice/game_system/SwordWorld.rb'
# Offense count: 28
# Configuration parameters: AllowedNames.
# AllowedNames: module_parent
Naming/ClassAndModuleCamelCase:
Enabled: false
# Offense count: 232
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
# 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: 403
# Configuration parameters: EnforcedStyle, AllowedPatterns, IgnoredPatterns.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
Enabled: false
# Offense count: 175
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: as, at, by, db, id, if, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Enabled: false
# Offense count: 1159
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 443