.rubocop.yml in longleaf-0.2.0.pre.1 vs .rubocop.yml in longleaf-0.3.0
- old
+ new
@@ -1,4 +1,44 @@
inherit_from: .rubocop_todo.yml
-inherit_gem:
- bixby: bixby_default.yml
+require:
+- rubocop-rspec
+- rubocop-performance
+- rubocop-sequel
+
+AllCops:
+ DisplayCopNames: true
+ TargetRubyVersion: 2.3
+ Exclude:
+ - "longleaf.gemspec"
+
+Layout/IndentationConsistency:
+ EnforcedStyle: normal
+
+Metrics/BlockLength:
+ Exclude:
+ - "spec/**/*"
+
+Metrics/LineLength:
+ Max: 200
+ Exclude:
+ - 'spec/**/*'
+
+Naming/HeredocDelimiterNaming:
+ Enabled: false
+
+Naming/PredicateName:
+ NamePrefixBlacklist:
+ - is_
+
+Rails:
+ Enabled: false
+
+Rails/OutputSafety:
+ Enabled: false
+
+# https://github.com/rubocop-hq/rubocop/issues/6439
+Style/AccessModifierDeclarations:
+ Enabled: false
+
+Style/StringLiterals:
+ Enabled: false