.rubocop.yml in graphql_rails-1.0.0 vs .rubocop.yml in graphql_rails-1.1.0
- old
+ new
@@ -1,11 +1,11 @@
require: rubocop-rspec
RSpec/NestedGroups:
Enabled: false
-Metrics/LineLength:
+Layout/LineLength:
Enabled: true
Max: 120
Metrics/BlockLength:
Exclude:
@@ -19,11 +19,11 @@
Lint/AmbiguousBlockAssociation:
Exclude:
- spec/**/*.rb
-Naming/UncommunicativeMethodParamName:
+Naming/MethodParameterName:
AllowedNames:
- 'to'
- 'at'
- 'on'
- 'id'
@@ -33,10 +33,10 @@
Style/ClassAndModuleChildren:
Exclude:
- spec/**/*_spec.rb
AllCops:
- TargetRubyVersion: 2.5
+ TargetRubyVersion: 2.7
Exclude:
- bin/*
- graphql_rails.gemspec
- Rakefile