-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy path.rubocop_todo.yml
119 lines (106 loc) · 3.95 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-07-01 09:39:49 UTC using RuboCop version 1.31.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: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/LineEndStringConcatenationIndentation:
Exclude:
- 'cookbooks/lib/languages/erlang_spec.rb'
# Offense count: 1
Lint/DuplicateMethods:
Exclude:
- 'lib/image_metadata.rb'
# Offense count: 17
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 45
# Offense count: 26
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
Metrics/BlockLength:
Max: 178
# Offense count: 2
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 138
# Offense count: 12
# Configuration parameters: ForbiddenDelimiters.
# ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
Naming/HeredocDelimiterNaming:
Exclude:
- 'cookbooks/lib/features/basic_spec.rb'
- 'cookbooks/lib/features/cassandra_spec.rb'
- 'cookbooks/lib/features/go_toolchain_spec.rb'
- 'cookbooks/lib/features/jdk_spec.rb'
- 'cookbooks/lib/features/mysql_spec.rb'
- 'cookbooks/lib/features/phantomjs_spec.rb'
- 'cookbooks/lib/languages/php_spec.rb'
- 'spec/travis_packer_templates_spec.rb'
# Offense count: 10
# This cop supports unsafe autocorrection (--autocorrect-all).
Security/IoMethods:
Exclude:
- 'cookbooks/travis_ci_freebsd_12/metadata.rb'
- 'cookbooks/travis_ci_opal/metadata.rb'
- 'cookbooks/travis_ci_sardonyx/metadata.rb'
- 'cookbooks/travis_ci_stevonnie/metadata.rb'
- 'cookbooks/travis_ci_ubuntu_1804/metadata.rb'
- 'cookbooks/travis_ci_ubuntu_1804_minimal/metadata.rb'
- 'cookbooks/travis_ci_ubuntu_2004/metadata.rb'
- 'cookbooks/travis_ci_ubuntu_2004_minimal/metadata.rb'
- 'cookbooks/travis_ci_windows_1803/metadata.rb'
- 'cookbooks/travis_packer_templates/metadata.rb'
# Offense count: 44
# Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols.
# SupportedStyles: inline, group
Style/AccessModifierDeclarations:
Exclude:
- 'lib/image_metadata.rb'
- 'lib/image_metadata_fetcher.rb'
- 'lib/macos_image_metadata_writer.rb'
- 'lib/macos_tarballer.rb'
- 'lib/stack_promotion_hydrator.rb'
- 'lib/stack_promotion_image.rb'
- 'lib/stack_promotion_reporter.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/CaseLikeIf:
Exclude:
- 'cookbooks/travis_ci_ubuntu_2004/attributes/default.rb'
# Offense count: 8
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowedVars.
Style/FetchEnvVar:
Exclude:
- 'bin/assert-job-board-tags'
- 'cookbooks/lib/features/jdk_spec.rb'
- 'cookbooks/lib/support.rb'
- 'cookbooks/lib/support/job_board_tags.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/MapToHash:
Exclude:
- 'spec/job_board_registrar_spec.rb'
# Offense count: 8
Style/MixinUsage:
Exclude:
- 'cookbooks/lib/features/php_interpreter_spec.rb'
- 'cookbooks/lib/features/postgresql_spec.rb'
- 'cookbooks/lib/languages/erlang_spec.rb'
- 'cookbooks/lib/languages/php_spec.rb'
- 'cookbooks/lib/languages/python_spec.rb'
- 'cookbooks/lib/support.rb'
- 'spec/image_metadata_spec.rb'
- 'spec/travis_packer_templates_spec.rb'
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 169