default.yml in platform-style-0.1.3 vs default.yml in platform-style-0.1.4

- old
+ new

@@ -6,14 +6,23 @@ AllCops: Exclude: - bin/* - db/schema.rb + - db/data_schema.rb - vendor/bundle/**/* NewCops: enable TargetRubyVersion: 3.1.2 +# GraphQL + +GraphQL/ExtractInputType: + Enabled: false + +GraphQL/ExtractType: + Enabled: false + # Layout Layout/ClassStructure: Categories: associations: @@ -102,19 +111,22 @@ # Metrics Metrics/AbcSize: Max: 30 + Exclude: + - db/data/*.rb Metrics/BlockLength: AllowedMethods: - context - describe - expects - factory - it - promises + - routes.draw - shared_examples - use_cassette CountAsOne: - array - hash @@ -140,20 +152,30 @@ - hash - heredoc CountComments: false Enabled: true Max: 20 + Exclude: + - db/data/*.rb Metrics/ModuleLength: CountAsOne: - array - hash - heredoc CountComments: false Enabled: true Max: 200 +# Naming + +Naming/VariableNumber: + EnforcedStyle: snake_case + Exclude: + - app/graphql/types/**/*.rb + - spec/factories/**/*.rb + # RSpec RSpec/ExampleLength: CountAsOne: - array @@ -165,10 +187,10 @@ Enabled: false RSpec/MultipleMemoizedHelpers: AllowSubject: true Enabled: true - Max: 10 + Max: 20 RSpec/NamedSubject: Enabled: false RSpec/NestedGroups: