Skip to content

Commit 886a32c

Browse files
committed
rubocop
1 parent bd2a9bf commit 886a32c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.rubocop.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ inherit_from: .rubocop_todo.yml
22

33
AllCops:
44
TargetRubyVersion: 3.1
5+
NewCops: enable
6+
SuggestExtensions: false
57
Exclude:
68
- 'lib/opentelemetry/**/*.rb'
79

@@ -14,15 +16,24 @@ Lint/UnusedMethodArgument:
1416
Metrics:
1517
Enabled: false
1618

19+
Naming/BlockForwarding:
20+
Enabled: false
21+
1722
Naming/VariableNumber:
1823
Enabled: false
1924

2025
Style/Copyright:
2126
Enabled: false
2227

28+
Style/ArgumentsForwarding:
29+
Enabled: false
30+
2331
Style/ClassAndModuleChildren:
2432
Enabled: false
2533

34+
Style/FetchEnvVar:
35+
Enabled: false
36+
2637
Style/StringHashKeys:
2738
Enabled: false
2839

fluent-plugin-otlp.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
1414

1515
spec.metadata["homepage_uri"] = spec.homepage
1616
spec.metadata["source_code_uri"] = "https://github.com/watson1978/fluent-plugin-otlp"
17+
spec.metadata["rubygems_mfa_required"] = "true"
1718

1819
# Specify which files should be added to the gem when it is released.
1920
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.

0 commit comments

Comments
 (0)