.rubocop.yml in rubocop-sorbet-0.7.0 vs .rubocop.yml in rubocop-sorbet-0.7.1
- old
+ new
@@ -1,13 +1,24 @@
# This file strictly follows the rules defined in the Ruby style guide:
# http://shopify.github.io/ruby-style-guide/
inherit_gem:
rubocop-shopify: rubocop.yml
+require:
+ - rubocop/cop/internal_affairs
+
AllCops:
- TargetRubyVersion: 2.5
+ TargetRubyVersion: 2.7
Exclude:
- vendor/**/*
+ NewCops: disable
+ SuggestExtensions: false
+InternalAffairs:
+ Enabled: true
+
Naming/FileName:
Exclude:
- lib/rubocop-sorbet.rb
+
+Layout/LineLength:
+ IgnoreCopDirectives: true