.rubocop.yml in peppermint-0.1.11 vs .rubocop.yml in peppermint-0.1.12
- old
+ new
@@ -1,35 +1,63 @@
+---
inherit_mode:
merge:
- Exclude
-require:
-- standard
-- standard-custom
-- standard-performance
-- rubocop-performance
-- rubocop-rake
-- rubocop-rspec
+require:
+ - standard
+ - standard-rails
+ - standard-custom
+ - standard-performance
+ - rubocop-performance
+ - rubocop-rake
+ - rubocop-rspec
+ - rubocop-rails
+ - rubocop-rspec_rails
+ - rubocop-capybara
inherit_gem:
standard: config/base.yml
+ standard-rails: config/base.yml
standard-performance: config/base.yml
standard-custom: config/base.yml
# custom enables/disables
Layout/LineLength:
- Enabled: true
- Max: 100
+ Enabled: false
Style/DisableCopsWithinSourceCodeDirective:
Enabled: true
Rake/Desc:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/ExampleLength:
Enabled: false
+#
+# Ignore differences from Rails autogeneration
+#
+Layout/SpaceInsideHashLiteralBraces:
+ Exclude:
+ - 'config/environments/*'
+Layout/ExtraSpacing:
+ Exclude:
+ - 'config/environments/*'
+Style/GlobalStdStream:
+ Exclude:
+ - 'config/environments/*'
+Layout/SpaceInsideArrayLiteralBrackets:
+ Exclude:
+ - 'config/environments/*'
+
+#
+# Ignore differences from RSpec autogeneration
+#
+Style/StringLiterals:
+ Exclude:
+ - 'spec/rails_helper.rb'
+
AllCops:
NewCops: enable
Include:
- '**/*.rb'
- '**/*.arb'
@@ -89,6 +117,6 @@
- 'node_modules/**/*'
- 'src/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- '.git/**/*'
-
+ - 'db/migrate/*.active_storage.rb'