.rubocop.yml in index_shotgun-0.3.0 vs .rubocop.yml in index_shotgun-1.0.0
- old
+ new
@@ -1,4 +1,28 @@
-inherit_from: .rubocop_standard.yml
+inherit_gem:
+ onkcop:
+ - "config/rubocop.yml"
+ - "config/rspec.yml"
-Rails/Output:
+AllCops:
+ TargetRubyVersion: 2.3
+
+Layout/AlignHash:
+ EnforcedHashRocketStyle: table
+ EnforcedColonStyle: table
+
+Metrics/AbcSize:
+ Max: 33
+
+Metrics/MethodLength:
+ Max: 25
+
+RSpec/NestedGroups:
Enabled: false
+
+RSpec/SharedExamples:
+ Enabled: false
+
+Security/Eval:
+ Exclude:
+ - "Gemfile"
+ - "gemfiles/*.gemfile"