Skip to content

Commit 4bace7e

Browse files
committed
ci: Added additional cops.
1 parent 5e80b46 commit 4bace7e

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

hyperproof/.rubocop.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
require:
2+
- rubocop-yard
3+
14
plugins:
5+
- rubocop-md
26
- rubocop-performance
37
- rubocop-rake
48
- rubocop-rspec
9+
- rubocop-thread_safety
510

611
AllCops:
712
NewCops: enable
@@ -18,7 +23,8 @@ Metrics/MethodLength:
1823
# consistent with the gem name.
1924
Naming/FileName:
2025
Exclude:
21-
- 'lib/cfa-security-controls-hyperproof.rb'
26+
- lib/cfa-security-controls-hyperproof.rb
27+
- README.md
2228

2329
RSpec/ExampleLength:
2430
CountAsOne:

hyperproof/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ gemspec
77
group :development do
88
gem 'rake', '~> 13.2'
99
gem 'rubocop', '~> 1.75'
10+
gem 'rubocop-md', '~> 2.0'
1011
gem 'rubocop-performance', '~> 1.25'
1112
gem 'rubocop-rake', '~> 0.7'
1213
gem 'rubocop-rspec', '~> 3.6'
14+
gem 'rubocop-thread_safety', '~> 0.7'
1315
gem 'rubocop-yard', '~> 0.10'
1416
end
1517

hyperproof/Gemfile.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ GEM
155155
rubocop-ast (1.44.1)
156156
parser (>= 3.3.7.2)
157157
prism (~> 1.4)
158+
rubocop-md (2.0.1)
159+
lint_roller (~> 1.1)
160+
rubocop (>= 1.72.1)
158161
rubocop-performance (1.25.0)
159162
lint_roller (~> 1.1)
160163
rubocop (>= 1.75.0, < 2.0)
@@ -165,6 +168,9 @@ GEM
165168
rubocop-rspec (3.6.0)
166169
lint_roller (~> 1.1)
167170
rubocop (~> 1.72, >= 1.72.1)
171+
rubocop-thread_safety (0.7.2)
172+
lint_roller (~> 1.1)
173+
rubocop (~> 1.72, >= 1.72.1)
168174
rubocop-yard (0.10.0)
169175
rubocop (~> 1.21)
170176
yard
@@ -200,9 +206,11 @@ DEPENDENCIES
200206
rspec (~> 3.13)
201207
rspec-github (~> 3.0)
202208
rubocop (~> 1.75)
209+
rubocop-md (~> 2.0)
203210
rubocop-performance (~> 1.25)
204211
rubocop-rake (~> 0.7)
205212
rubocop-rspec (~> 3.6)
213+
rubocop-thread_safety (~> 0.7)
206214
rubocop-yard (~> 0.10)
207215
simplecov (~> 0.22)
208216

hyperproof/lib/cfa_security_controls/hyperproof/proofs/aws/database_encryption.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def fields
5454

5555
# Mapping of AWS Config field names to the desired output field names.
5656
#
57-
# @return [Hash<String, Symbol>] The mapping of field names.
57+
# @return [Hash{String => Symbol}] The mapping of field names.
5858
def field_map
5959
{
6060
'configuration.storageEncrypted' => :storageEncrypted,

0 commit comments

Comments
 (0)