fastlane/lib/fastlane/plugins/template/.rubocop.yml in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/plugins/template/.rubocop.yml in fastlane_hotfix-2.187.0

- old
+ new

@@ -1,6 +1,25 @@ --- +require: +- rubocop/require_tools +- rubocop-performance +AllCops: + TargetRubyVersion: 2.5 + NewCops: enable + Include: + - "**/*.rb" + - "**/*file" + - "**/*.gemspec" + - "*/lib/assets/*Template" + - "*/lib/assets/*TemplateAndroid" + Exclude: + - "**/lib/assets/custom_action_template.rb" + - "./vendor/**/*" + - "**/lib/assets/DefaultFastfileTemplate" + - "**/lib/assets/MatchfileTemplate" + - "**/spec/fixtures/broken_files/broken_file.rb" + - "**/*.provisionprofile" Style/MultipleComparison: Enabled: false Style/PercentLiteralDelimiters: Enabled: false Style/ClassCheck: @@ -17,55 +36,54 @@ Enabled: false Metrics/BlockLength: Enabled: false Metrics/ModuleLength: Enabled: false -Style/VariableNumber: +Naming/VariableNumber: Enabled: false -Style/MethodMissing: +Style/MissingRespondToMissing: Enabled: false -MultilineBlockChain: +Style/MultilineBlockChain: Enabled: false Style/NumericLiteralPrefix: Enabled: false Style/TernaryParentheses: Enabled: false Style/EmptyMethod: Enabled: false -Style/BracesAroundHashParameters: - Enabled: false Lint/UselessAssignment: Exclude: - "**/spec/**/*" Require/MissingRequireStatement: Exclude: - "**/spec/**/*.rb" - "**/spec_helper.rb" - spaceship/lib/spaceship/babosa_fix.rb + - fastlane_core/lib/fastlane_core/ui/disable_colors.rb - "**/Fastfile" - "**/*.gemspec" - rakelib/**/* - "**/*.rake" - "**/Rakefile" - fastlane/**/* - supply/**/* -Layout/IndentHash: +Layout/FirstHashElementIndentation: Enabled: false -Layout/AlignHash: +Layout/HashAlignment: Enabled: false Layout/DotPosition: Enabled: false Style/DoubleNegation: Enabled: false Style/SymbolArray: Enabled: false -Layout/IndentHeredoc: +Layout/HeredocIndentation: Enabled: false Style/MixinGrouping: Exclude: - "**/spec/**/*" -Lint/HandleExceptions: +Lint/SuppressedException: Enabled: false Lint/UnusedBlockArgument: Enabled: false Lint/AmbiguousBlockAssociation: Enabled: false @@ -92,16 +110,14 @@ Style/AndOr: Enabled: true EnforcedStyle: conditionals Metrics/ClassLength: Max: 320 -Metrics/LineLength: +Layout/LineLength: Max: 370 Metrics/ParameterLists: Max: 17 -Metrics/PerceivedComplexity: - Max: 18 Style/GuardClause: Enabled: false Style/StringLiterals: Enabled: false Style/ConditionalAssignment: @@ -111,38 +127,28 @@ Lint/UnusedMethodArgument: Enabled: false Lint/ParenthesesAsGroupedExpression: Exclude: - "**/spec/**/*" -Style/PredicateName: +Naming/PredicateName: Enabled: false Style/PerlBackrefs: Enabled: false Layout/SpaceAroundOperators: Exclude: - "**/spec/actions_specs/xcodebuild_spec.rb" -AllCops: - TargetRubyVersion: 2.0 - Include: - - "*/lib/assets/*Template" - - "*/lib/assets/*TemplateAndroid" +Naming/FileName: Exclude: - - "**/lib/assets/custom_action_template.rb" - - "./vendor/**/*" - - "**/lib/assets/DefaultFastfileTemplate" - - "**/lib/assets/MatchfileTemplate" - - "**/spec/fixtures/broken_files/broken_file.rb" -Style/FileName: - Exclude: - "**/Dangerfile" - "**/Brewfile" - "**/Gemfile" - "**/Podfile" - "**/Rakefile" - "**/Fastfile" - "**/Deliverfile" - "**/Snapfile" + - "**/Pluginfile" - "**/*.gemspec" Style/Documentation: Enabled: false Style/MutableConstant: Enabled: false @@ -150,19 +156,9 @@ Enabled: false Style/IfInsideElse: Enabled: false Style/CollectionMethods: Enabled: false -CrossPlatform/ForkUsage: - Exclude: - - "**/plugins/template/**/*" -Lint/IsStringUsage: - Include: - - cert/**/* - - gym/**/* - - match/**/* - - screengrab/**/* - - supply/**/* Style/MethodCallWithArgsParentheses: Enabled: true IgnoredMethods: - require - require_relative