# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-05-12 13:44:44 +0800 using RuboCop version 0.40.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: 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: 1 # Cop supports --auto-correct. # Configuration parameters: AlignWith, SupportedStyles, AutoCorrect. # SupportedStyles: start_of_line, def Lint/DefEndAlignment: Enabled: false # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: AlignWith, SupportedStyles, AutoCorrect. # SupportedStyles: keyword, variable, start_of_line Lint/EndAlignment: Enabled: false # 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: 127 Lint/UnderscorePrefixedVariableName: Enabled: false # Offense count: 1 Lint/UnreachableCode: Exclude: - 'lib/fog/aliyun/models/storage/directory.rb' # Offense count: 38 Lint/UselessAssignment: Exclude: - 'lib/fog/aliyun.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: 78 Metrics/AbcSize: Max: 100 # Offense count: 5 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 154 # Offense count: 18 Metrics/CyclomaticComplexity: Max: 15 # Offense count: 257 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes. # URISchemes: http, https Metrics/LineLength: Max: 247 # Offense count: 110 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 97 # Offense count: 1 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: Max: 6 # Offense count: 17 Metrics/PerceivedComplexity: Max: 19 # Offense count: 1 Style/ClassVars: Exclude: - 'lib/fog/bin/aliyun.rb' # Offense count: 138 Style/Documentation: Enabled: false # Offense count: 7 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: for, each Style/For: Enabled: false # 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: 2 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/fog/aliyun/requests/compute/delete_vpc.rb' - 'lib/fog/aliyun/requests/compute/delete_vswitch.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: 4 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: snake_case, camelCase Style/MethodName: Enabled: false # Offense count: 741 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: snake_case, camelCase Style/VariableName: Enabled: false