# This configuration was generated by # `rubocop --auto-gen-config` # on 2022-05-09 23:17:26 UTC using RuboCop version 1.26.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 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/RequireMFA: Exclude: - 'crowdin-api.gemspec' # Offense count: 1 # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/RequiredRubyVersion: Exclude: - 'crowdin-api.gemspec' # Offense count: 18 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'lib/crowdin-api/api_resources/machine_translation_engines.rb' - 'lib/crowdin-api/api_resources/reports.rb' - 'lib/crowdin-api/api_resources/teams.rb' - 'lib/crowdin-api/api_resources/users.rb' - 'lib/crowdin-api/api_resources/workflows.rb' # Offense count: 4 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table # SupportedColonStyles: key, separator, table # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Layout/HashAlignment: Exclude: - 'lib/crowdin-api/client/configuration.rb' # Offense count: 13 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle. # SupportedStyles: normal, indented_internal_methods Layout/IndentationConsistency: Exclude: - 'lib/crowdin-api/client/client.rb' - 'lib/crowdin-api/core/request.rb' - 'lib/crowdin-api/core/send_request.rb' # Offense count: 13 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Exclude: - 'lib/crowdin-api/client/client.rb' - 'lib/crowdin-api/core/request.rb' - 'lib/crowdin-api/core/send_request.rb' # Offense count: 22 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. # SupportedStylesForExponentOperator: space, no_space Layout/SpaceAroundOperators: Exclude: - 'crowdin-api.gemspec' - 'lib/crowdin-api/api_resources/machine_translation_engines.rb' - 'lib/crowdin-api/api_resources/reports.rb' - 'lib/crowdin-api/api_resources/teams.rb' - 'lib/crowdin-api/api_resources/users.rb' - 'lib/crowdin-api/api_resources/workflows.rb' - 'spec/api_resources/projects_spec.rb' # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/crowdin-api/core/send_request.rb' # Offense count: 2 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 23 # Offense count: 4 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. # IgnoredMethods: refine Metrics/BlockLength: Max: 171 # Offense count: 13 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 18 # Offense count: 9 # Configuration parameters: CountComments, CountAsOne. Metrics/ModuleLength: Max: 199 # Offense count: 3 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: MaxOptionalParameters: 4 Max: 6 # Offense count: 2 Naming/AccessorMethodName: Exclude: - 'lib/crowdin-api/api_resources/users.rb' - 'lib/crowdin-api/core/send_request.rb' # Offense count: 1 # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. # CheckDefinitionPathHierarchyRoots: lib, spec, test, src # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS Naming/FileName: Exclude: - 'lib/crowdin-api.rb' # Offense count: 2 # Configuration parameters: EnforcedStyleForLeadingUnderscores. # SupportedStylesForLeadingUnderscores: disallowed, required, optional Naming/MemoizedInstanceVariableName: Exclude: - 'lib/crowdin-api/client/client.rb' # Offense count: 6 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: PreferredName. Naming/RescuedExceptionsVariableName: Exclude: - 'lib/crowdin-api/core/send_request.rb' # Offense count: 7 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle. # SupportedStyles: separated, grouped Style/AccessorGrouping: Exclude: - 'lib/crowdin-api/client/configuration.rb' - 'lib/crowdin-api/core/request.rb' # Offense count: 4 # This cop supports unsafe auto-correction (--auto-correct-all). Style/CollectionCompact: Exclude: - 'lib/crowdin-api/core/request.rb' - 'lib/crowdin-api/core/send_request.rb' # Offense count: 24 # Configuration parameters: AllowedConstants. Style/Documentation: Enabled: false # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle. # SupportedStyles: allowed_in_returns, forbidden Style/DoubleNegation: Exclude: - 'lib/crowdin-api/client/configuration.rb' # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Exclude: - 'bin/crowdin-console' # Offense count: 1 Style/MixinUsage: Exclude: - 'bin/crowdin-console' # Offense count: 2 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, explicit Style/RescueStandardError: Exclude: - 'lib/crowdin-api/api_resources/labels.rb' - 'lib/crowdin-api/api_resources/string_translations.rb' # Offense count: 1 # This cop supports unsafe auto-correction (--auto-correct-all). # Configuration parameters: Mode. Style/StringConcatenation: Exclude: - 'lib/crowdin-api/api_resources/projects.rb' # Offense count: 8 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'spec/api_resources/projects_spec.rb' # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Max: 121