-
Notifications
You must be signed in to change notification settings - Fork 5
/
.rubocop.yml
60 lines (47 loc) · 1.18 KB
/
.rubocop.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
require:
- rubocop-minitest
- rubocop-rake
AllCops:
TargetRubyVersion: 3.1
NewCops: enable
Exclude:
- bin/bundle
- bin/rake
- bin/yard
- vendor/**/*
Layout/LineLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/MethodLength:
Enabled: false
Minitest/MultipleAssertions:
Enabled: false
Minitest/TestFileName:
Exclude:
- test/acceptance/test.rb
Naming/ClassAndModuleCamelCase:
Enabled: false
Naming/VariableNumber:
EnforcedStyle: snake_case
Style/Documentation:
Exclude:
- lib/pg/aws_rds_iam/active_record_postgresql_adapter.rb
- lib/pg/aws_rds_iam/active_record_postgresql_database_tasks.rb
- lib/pg/aws_rds_iam/active_record_postgresql_database_tasks/**/*.rb
- lib/pg/aws_rds_iam/auth_token_injector.rb
- lib/pg/aws_rds_iam/auth_token.rb
- lib/pg/aws_rds_iam/connection_info.rb
- lib/pg/aws_rds_iam/connection_info/**/*.rb
- lib/pg/aws_rds_iam/connection.rb
- lib/pg/aws_rds_iam/rails_dbconsole.rb
- test/**/*.rb
Style/HashSyntax:
Exclude:
- Rakefile
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/SymbolArray:
EnforcedStyle: brackets
Style/WordArray:
EnforcedStyle: brackets