AllCops: DisplayCopNames: true DisplayStyleGuide: true TargetRubyVersion: 2.4 Exclude: - 'examples/rails/config/**/*' - 'examples/doc_scan/config/**/*' - 'examples/doc_scan/bin/**/*' - 'lib/yoti/protobuf/attrpubapi/*' - 'lib/yoti/protobuf/compubapi/*' - 'lib/yoti/protobuf/sharepubapi/*' Metrics/AbcSize: Enabled: false Max: 23 Exclude: - examples/rails/app/controllers/yoti_controller.rb Metrics/BlockLength: Exclude: - spec/**/**/*.rb - yoti.gemspec Metrics/CyclomaticComplexity: Max: 9 Metrics/ClassLength: Enabled: false Max: 115 Layout/LineLength: Enabled: false Metrics/MethodLength: Enabled: false CountComments: false Max: 19 Exclude: - spec/yoti/data_type/multi_value_spec.rb Style/Documentation: Enabled: false Style/FrozenStringLiteralComment: Enabled: false Style/NumericLiterals: Enabled: false Style/MutableConstant: Enabled: false Naming/MethodName: Exclude: - lib/yoti/util/anchor_processor.rb Naming/PredicateName: Exclude: - lib/yoti/util/age_processor.rb Metrics/ParameterLists: Exclude: - lib/yoti/doc_scan/session/create/sdk_config.rb - lib/yoti/doc_scan/session/create/session_specification.rb - spec/yoti/doc_scan/client_spec.rb