-
Notifications
You must be signed in to change notification settings - Fork 176
/
.rubocop_todo.yml
69 lines (58 loc) · 1.92 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-04-15 15:39:38 +0200 using RuboCop version 0.36.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.
###
### We can't get rid of all the camelCase until we've done database migrations.
###
# Offense count: 4
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
Exclude:
- 'app/controllers/users_controller.rb'
- 'app/models/light_result.rb'
- 'app/models/event.rb'
- 'app/models/round_type.rb'
- 'db/migrate/20160109070723_convert_process_links_format_to_markdown.rb'
# Offense count: 16
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Naming/VariableName:
Enabled: false
###
### End camelCase stuff
###
# This was broken in Rubocop 0.48.1.
# See https://github.com/bbatsov/rubocop/pull/4237
Lint/AmbiguousBlockAssociation:
Enabled: false
Metrics/CyclomaticComplexity:
Exclude:
- 'app/controllers/competitions_controller.rb'
- 'app/controllers/registrations_controller.rb'
- 'app/jobs/sync_mailing_lists_job.rb'
- 'app/models/competition.rb'
- 'lib/results_validators/*.rb'
Metrics/PerceivedComplexity:
Exclude:
- 'app/controllers/competitions_controller.rb'
- 'app/controllers/registrations_controller.rb'
- 'app/jobs/sync_mailing_lists_job.rb'
- 'app/models/competition.rb'
- 'lib/results_validators/*.rb'
Lint/StructNewOverride:
Enabled: false
Style/AccessorGrouping:
Enabled: false
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: false
Style/SoleNestedConditional:
Enabled: false
Style/StringConcatenation:
Enabled: false
Lint/EmptyBlock:
Enabled: false