11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2020-03-27 09:23:34 -0400 using RuboCop version 0.80 .1.
3+ # on 2023-02-13 20:38:06 UTC using RuboCop version 1.45 .1.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
9+ # Offense count: 4
10+ # Configuration parameters: AllowedMethods.
11+ # AllowedMethods: enums
12+ Lint/ConstantDefinitionInBlock :
13+ Exclude :
14+ - ' spec/ruby-enum/enum_spec.rb'
15+
916# Offense count: 1
10- # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
17+ # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
18+ # CheckDefinitionPathHierarchyRoots: lib, spec, test, src
1119# 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
1220Naming/FileName :
1321 Exclude :
1422 - ' lib/ruby-enum.rb'
1523
1624# Offense count: 6
1725# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
18- # AllowedNames: io, id, to, by, on, in, at , ip, db, os, pp
26+ # AllowedNames: as, at, by, cc, db, id, if, in, io , ip, of, on, os, pp, to
1927Naming/MethodParameterName :
2028 Exclude :
2129 - ' lib/ruby-enum/enum.rb'
2230
2331# Offense count: 4
32+ # Configuration parameters: AllowedConstants.
2433Style/Documentation :
2534 Exclude :
2635 - ' spec/**/*'
@@ -29,9 +38,9 @@ Style/Documentation:
2938 - ' lib/ruby-enum/errors/base.rb'
3039 - ' lib/ruby-enum/errors/uninitialized_constant_error.rb'
3140
32- # Offense count: 10
33- # Cop supports --auto-correct .
34- # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns .
41+ # Offense count: 1
42+ # This cop supports safe autocorrection (--autocorrect) .
43+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns .
3544# URISchemes: http, https
3645Layout/LineLength :
3746 Max : 148
0 commit comments