fog/fog-azure-rm

View on GitHub

Showing 528 of 528 total issues

Use SCREAMING_SNAKE_CASE for constants.
Open

Premium = 'Premium'.freeze

Use SCREAMING_SNAKE_CASE for constants.
Open

BlobStorage = 'BlobStorage'.freeze

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if ssl_certificate.is_a?(Hash)

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if frontend_ip_configurations.any?

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if backend_http_settings_list.is_a?(Array)

Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency azure_mgmt_network should appear before azure_mgmt_storage.
Open

spec.add_dependency 'azure_mgmt_network', '~> 0.9.0'
Severity: Minor
Found in fog-azure-rm.gemspec by rubocop

Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency azure_mgmt_sql should appear before azure_mgmt_traffic_manager.
Open

spec.add_dependency 'azure_mgmt_sql', '~> 0.9.0'
Severity: Minor
Found in fog-azure-rm.gemspec by rubocop

Space found before comma.
Open

spec.add_development_dependency 'codeclimate-test-reporter' , '~> 1.0.0'
Severity: Minor
Found in fog-azure-rm.gemspec by rubocop

%w-literals should be delimited by [ and ].
Open

attribute :next_marker, aliases: %w(NextMarker next-marker)

%w-literals should be delimited by [ and ].
Open

attribute :cache_control, aliases: %w(Cache-Control CacheControl)

%w-literals should be delimited by [ and ].
Open

attribute :copy_status, aliases: %w(Copy-Status CopyStatus)

Use SCREAMING_SNAKE_CASE for constants.
Open

Standard = 'Standard'.freeze

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if probes.any?

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if probe.is_a?(Hash)

%w-literals should be delimited by [ and ].
Open

attribute :last_modified, aliases: %w(Last-Modified LastModified), type: 'time'

%w-literals should be delimited by [ and ].
Open

attribute :copy_completion_time, aliases: %w(Copy-Completion-Time CopyCompletionTime)

%w-literals should be delimited by [ and ].
Open

attribute :copy_progress, aliases: %w(Copy-Progress CopyProgress)

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if frontend_ports.is_a?(Array)

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if missing.length == 1

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if url_path_map.is_a?(Hash)
Severity
Category
Status
Source
Language