.rubocop.yml in lifeform-0.11.0 vs .rubocop.yml in lifeform-0.12.0
- old
+ new
@@ -1,16 +1,33 @@
require:
+ - rubocop-bridgetown
- rubocop-minitest
- rubocop-rake
+inherit_gem:
+ rubocop-bridgetown: .rubocop.yml
+
AllCops:
TargetRubyVersion: 3.0
NewCops: enable
+
Exclude:
- - lib/lifeform/phlex_renderable.rb
+ - .gitignore
+ - .rubocop.yml
+ - "*.gemspec"
-Lint/MissingSuper:
+ - Gemfile.lock
+ - CHANGELOG.md
+ - LICENSE.txt
+ - README.md
+ - Rakefile
+
+ - bin/**/*
+ - test/fixtures/**/*
+ - vendor/**/*
+
+Layout/MultilineBlockLayout:
Enabled: false
Metrics/AbcSize:
Exclude:
- test/**/*.rb
@@ -18,34 +35,10 @@
Metrics/ClassLength:
Exclude:
- test/**/*.rb
Metrics/MethodLength:
- Max: 20
Exclude:
- test/**/*.rb
-
-Style/Documentation:
- Enabled: false
-
-Style/Lambda:
- Enabled: false
-
-Style/LambdaCall:
- Enabled: false
-
-Style/MultilineBlockChain:
- Enabled: false
-
-Style/StringLiterals:
- Enabled: true
- EnforcedStyle: double_quotes
-
-Style/StringLiteralsInInterpolation:
- Enabled: true
- EnforcedStyle: double_quotes
-
-Style/ParallelAssignment:
- Enabled: false
Layout/LineLength:
Max: 120