.rubocop.yml in u3d-1.2.3 vs .rubocop.yml in u3d-1.3.0
- old
+ new
@@ -3,20 +3,29 @@
#
# is easier to read than
#
# File.chmod(0o777, f)
#
+require:
+ - rubocop-rake
+ #- rubocop-rspec
+
AllCops:
+ NewCops: enable
#Include:
# - '**/fastlane/Fastfile'
Exclude:
+ - 'vendor/**/*'
- './fastlane-plugin-u3d/**/*'
# broken in 0.52.1
Layout/EmptyLinesAroundArguments:
Enabled: false
+Style/FetchEnvVar:
+ Enabled: false
+
Style/NumericLiteralPrefix:
Enabled: false
Style/StringLiterals:
Enabled: false # we're not there yet
@@ -32,17 +41,17 @@
Metrics/ParameterLists:
Max: 8
Metrics/PerceivedComplexity:
- Max: 10
+ Max: 12
Metrics/MethodLength:
Enabled: false
# Configuration parameters: AllowURI, URISchemes.
-Metrics/LineLength:
+Layout/LineLength:
Max: 370
# We're not there yet
Style/Documentation:
Enabled: false
@@ -55,6 +64,9 @@
Layout/EndOfLine:
EnforcedStyle: lf
# Some issues with rspec style
Lint/AmbiguousBlockAssociation:
- Enabled: false
\ No newline at end of file
+ Enabled: false
+
+Lint/EmptyBlock:
+ Enabled: false