File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11AllCops :
22 TargetRubyVersion : 3.3
3+ NewCops : enable
34 SuggestExtensions : false
45 Exclude :
56 - ' vendor/**/*'
@@ -9,12 +10,18 @@ require:
910 - rubocop-rake
1011 - rubocop-rspec
1112
13+ # Disable problematic cops that cause errors
14+ Capybara/RSpec/PredicateMatcher :
15+ Enabled : false
16+
17+ # Layout rules
1218Layout/LineLength :
1319 Max : 120
1420 Exclude :
1521 - ' gasfree_sdk.gemspec'
1622 - ' examples/**/*'
1723
24+ # Metrics rules
1825Metrics/BlockLength :
1926 Exclude :
2027 - ' spec/**/*'
@@ -30,20 +37,34 @@ Metrics/CyclomaticComplexity:
3037 Exclude :
3138 - ' spec/**/*'
3239
40+ # Documentation rules
3341Style/Documentation :
3442 Exclude :
3543 - ' spec/**/*'
3644 - ' examples/**/*'
3745 - ' lib/gasfree_sdk/errors.rb'
3846
47+ # RSpec rules
3948RSpec/ExampleLength :
4049 Max : 30
4150
4251RSpec/MultipleExpectations :
4352 Max : 5
4453
54+ # String literal rules
4555Style/StringLiterals :
4656 EnforcedStyle : double_quotes
4757
4858Style/StringLiteralsInInterpolation :
4959 EnforcedStyle : double_quotes
60+
61+ # Disable some overly strict cops for this project
62+ Style/FrozenStringLiteralComment :
63+ Enabled : true
64+
65+ # Gemspec rules - be more lenient for development gems
66+ Gemspec/RequireMFA :
67+ Enabled : false
68+
69+ Gemspec/DevelopmentDependencies :
70+ Enabled : false
Original file line number Diff line number Diff line change 22
33RSpec . describe GasfreeSdk do
44 it "has a version number" do
5- expect ( GasfreeSdk ::VERSION ) . not_to be nil
5+ expect ( GasfreeSdk ::VERSION ) . not_to be_nil
66 end
77
88 it "can be configured" do
You can’t perform that action at this time.
0 commit comments