forked from GoodSingularity/LetsGoBoulder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
64 lines (56 loc) · 2.1 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-10-14 14:45:22 UTC using RuboCop version 1.22.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: 38
# Cop supports --auto-correct.
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 133
# Offense count: 1
Lint/DuplicateMethods:
Exclude:
- 'app/controllers/graphql_controller.rb'
# Offense count: 33
Lint/UselessAssignment:
Enabled: false
# Offense count: 2
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 20
# Offense count: 6
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 16
# Offense count: 2
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'app/controllers/graphql_controller.rb'
# Offense count: 31
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Exclude:
- 'app/context/ascends/repository.rb'
- 'app/context/routes/commands/put_file_to_route.rb'
- 'app/context/routes/repository.rb'
- 'app/context/users/commands/put_file_to_user.rb'
- 'app/context/users/queries/sign_in_user.rb'
- 'app/context/users/repository.rb'
- 'app/graphql/types/route_type.rb'
- 'config/initializers/aws.rb'
- 'config/initializers/rails_event_store.rb'
- 'config/initializers/twilio.rb'
- 'spec/graphql/mutations/create_user_spec.rb'
- 'spec/graphql/mutations/delete_file_from_route_spec.rb'
- 'spec/graphql/mutations/update_user_profile_image_spec.rb'
# Offense count: 1
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'app/graphql/helpers/authenticate_is_admin.rb'