# This configuration was generated by # `rubocop --auto-gen-config` # on 2018-03-12 13:56:34 +1100 using RuboCop version 0.53.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. # Offense count: 1 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'app/jobs/maestrano/connector/rails/push_to_connec_job.rb' # Offense count: 28 Metrics/AbcSize: Max: 69 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 110 # Offense count: 9 Metrics/CyclomaticComplexity: Max: 14 # Offense count: 3 # Configuration parameters: CountComments. Metrics/ModuleLength: Max: 212 # Offense count: 2 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: Max: 7 # Offense count: 9 Metrics/PerceivedComplexity: Max: 15 # Offense count: 2 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros. # NamePrefix: is_, has_, have_ # NamePrefixBlacklist: is_, has_, have_ # NameWhitelist: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: Exclude: - 'spec/**/*' - 'app/helpers/maestrano/connector/rails/session_helper.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnabledForFlattenWithoutParams. Performance/FlatMap: Exclude: - 'app/models/maestrano/connector/rails/concerns/complex_entity.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: Whitelist. # Whitelist: find_by_sql Rails/DynamicFindBy: Exclude: - 'app/controllers/maestrano/api/api_controller.rb' # Offense count: 2 # Configuration parameters: Include. # Include: app/models/**/*.rb Rails/HasManyOrHasOneDependent: Exclude: - 'app/models/maestrano/connector/rails/concerns/organization.rb' - 'app/models/maestrano/connector/rails/concerns/user.rb' # Offense count: 1 # Configuration parameters: Include. # Include: app/models/**/*.rb Rails/InverseOf: Exclude: - 'app/models/maestrano/connector/rails/concerns/user.rb' # Offense count: 1 # Cop supports --auto-correct. Rails/Presence: Exclude: - 'app/models/maestrano/connector/rails/concerns/organization.rb' # Offense count: 6 # Configuration parameters: EnforcedStyle. # SupportedStyles: strict, flexible Rails/TimeZone: Exclude: - 'app/models/maestrano/connector/rails/concerns/entity.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods. # SupportedStyles: line_count_based, semantic, braces_for_chaining # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object # FunctionalMethods: let, let!, subject, watch # IgnoredMethods: lambda, proc, it Style/BlockDelimiters: Exclude: - 'app/models/maestrano/connector/rails/concerns/entity.rb' # Offense count: 2 Style/ClassVars: Exclude: - 'app/models/maestrano/connector/rails/concerns/connec_helper.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: PreferredMethods. Style/CollectionMethods: Exclude: - 'app/models/maestrano/connector/rails/concerns/complex_entity.rb' # Offense count: 1 Style/DoubleNegation: Exclude: - 'app/controllers/maestrano/auth/saml_controller.rb' # Offense count: 64 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: when_needed, always, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'app/models/maestrano/connector/rails/concerns/entity.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'app/models/maestrano/connector/rails/concerns/entity.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, explicit Style/RescueStandardError: Exclude: - 'app/controllers/maestrano/connec_controller.rb' - 'app/jobs/maestrano/connector/rails/concerns/synchronization_job.rb' - 'app/models/maestrano/connector/rails/concerns/connec_helper.rb' - 'app/models/maestrano/connector/rails/concerns/entity.rb' - 'app/models/maestrano/connector/rails/concerns/organization.rb' - 'app/resources/maestrano/api/base_resource.rb'