# This configuration was generated by # `rubocop --auto-gen-config` # on 2018-06-22 19:29:12 -0300 using RuboCop version 0.57.2. # 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: 4 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'lib/fog/aliyun/requests/compute/create_server.rb' - 'lib/fog/aliyun/requests/compute/delete_server.rb' # Offense count: 4 Lint/RandOne: Exclude: - 'lib/fog/aliyun/requests/compute/list_images.rb' - 'lib/fog/aliyun/requests/compute/list_route_tables.rb' - 'lib/fog/aliyun/requests/compute/list_servers.rb' - 'lib/fog/aliyun/requests/compute/list_vrouters.rb' # Offense count: 1 Lint/UnreachableCode: Exclude: - 'lib/fog/aliyun/models/storage/directory.rb' # Offense count: 26 Lint/UriEscapeUnescape: Enabled: false # Offense count: 37 Lint/UselessAssignment: Exclude: - 'lib/fog/aliyun/requests/compute/create_server.rb' - 'lib/fog/aliyun/requests/compute/list_disks.rb' - 'lib/fog/aliyun/requests/compute/list_security_groups.rb' - 'lib/fog/aliyun/requests/storage/delete_object.rb' - 'lib/fog/aliyun/requests/storage/get_bucket.rb' - 'lib/fog/aliyun/requests/storage/get_container.rb' - 'lib/fog/aliyun/requests/storage/get_containers.rb' - 'lib/fog/aliyun/requests/storage/get_object_http_url.rb' - 'lib/fog/aliyun/requests/storage/get_object_https_url.rb' - 'lib/fog/aliyun/requests/storage/list_buckets.rb' - 'lib/fog/aliyun/requests/storage/list_objects.rb' - 'lib/fog/aliyun/requests/storage/put_bucket.rb' - 'lib/fog/aliyun/requests/storage/put_object.rb' - 'lib/fog/aliyun/storage.rb' # Offense count: 7 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 154 # Offense count: 87 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 247 # Offense count: 1 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: Max: 6 # Offense count: 17 Metrics/PerceivedComplexity: Max: 19 # Offense count: 7 # Configuration parameters: EnforcedStyle. # SupportedStyles: snake_case, camelCase Naming/MethodName: Exclude: - 'lib/fog/aliyun/compute.rb' - 'lib/fog/aliyun/requests/storage/get_bucket.rb' # Offense count: 48 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: io, id, to, by, on, in, at Naming/UncommunicativeMethodParamName: Enabled: false # Offense count: 5 Performance/Caller: Exclude: - 'lib/fog/aliyun/models/compute/images.rb' - 'lib/fog/aliyun/models/compute/snapshots.rb' - 'lib/fog/aliyun/models/compute/volumes.rb' - 'lib/fog/aliyun/models/compute/vpcs.rb' - 'lib/fog/aliyun/models/compute/vrouters.rb' # Offense count: 1 Style/ClassVars: Exclude: - 'lib/fog/bin/aliyun.rb' # Offense count: 7 # Configuration parameters: EnforcedStyle. # SupportedStyles: each, for Style/For: Exclude: - 'lib/fog/aliyun/models/storage/files.rb' - 'lib/fog/aliyun/requests/compute/list_images.rb' - 'lib/fog/aliyun/requests/compute/list_route_tables.rb' - 'lib/fog/aliyun/requests/compute/list_servers.rb' - 'lib/fog/aliyun/requests/compute/list_vrouters.rb' - 'lib/fog/aliyun/requests/storage/put_object.rb' # Offense count: 4 # Configuration parameters: AllowedVariables. Style/GlobalVars: Exclude: - 'lib/fog/aliyun/models/compute/server.rb' - 'lib/fog/aliyun/models/compute/vpcs.rb' - 'lib/fog/aliyun/models/compute/vrouter.rb' - 'lib/fog/aliyun/models/compute/vswitch.rb' # Offense count: 11 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/fog/aliyun/models/compute/security_groups.rb' - 'lib/fog/aliyun/models/compute/snapshots.rb' - 'lib/fog/aliyun/models/compute/volumes.rb' - 'lib/fog/aliyun/models/storage/file.rb' - 'lib/fog/aliyun/requests/compute/delete_security_group.rb' - 'lib/fog/aliyun/requests/compute/delete_server.rb' - 'lib/fog/aliyun/requests/compute/delete_vpc.rb' - 'lib/fog/aliyun/requests/compute/delete_vpn_connection.rb' - 'lib/fog/aliyun/requests/compute/delete_vpn_customergateway.rb' - 'lib/fog/aliyun/requests/compute/delete_vswitch.rb' - 'lib/fog/aliyun/requests/compute/list_security_group_rules.rb' # Offense count: 2 Style/IdenticalConditionalBranches: Exclude: - 'lib/fog/aliyun/models/storage/files.rb' # Offense count: 1 Style/IfInsideElse: Exclude: - 'lib/fog/aliyun/models/compute/security_group_rule.rb' # Offense count: 2 Style/MultipleComparison: Exclude: - 'lib/fog/aliyun/requests/storage/get_object_http_url.rb' - 'lib/fog/aliyun/requests/storage/get_object_https_url.rb'