default.yml in platform-style-0.2.0 vs default.yml in platform-style-0.2.1
- old
+ new
@@ -122,15 +122,18 @@
Exclude:
- db/data/*.rb
Metrics/BlockLength:
AllowedMethods:
+ - class_methods
- context
- describe
- expects
- factory
- it
+ - mutation
+ - parse
- promises
- routes.draw
- shared_examples
- use_cassette
CountAsOne:
@@ -177,10 +180,15 @@
Max: 200
# Naming
Naming/VariableNumber:
+ AllowedIdentifiers:
+ - address1
+ - address2
+ CheckSymbols: true
+ Enabled: true
EnforcedStyle: snake_case
Exclude:
- app/graphql/types/**/*.rb
- spec/factories/**/*.rb
- spec/requests/**/*.rb
@@ -216,5 +224,11 @@
Style/Documentation:
Enabled: false
Style/MultilineIfModifier:
Enabled: false
+
+Style/NumericLiterals:
+ AllowedPatterns:
+ - \d{10,}
+ Enabled: true
+ Strict: false