Showing 528 of 528 total issues
Use SCREAMING_SNAKE_CASE for constants. Open
BlobStorage = 'BlobStorage'.freeze
- Read upRead up
- Exclude checks
Use a guard clause instead of wrapping the code inside a conditional expression. Open
if ssl_certificate.is_a?(Hash)
- Read upRead up
- Exclude checks
Use a guard clause instead of wrapping the code inside a conditional expression. Open
if frontend_ip_configurations.any?
- Read upRead up
- Exclude checks
Use a guard clause instead of wrapping the code inside a conditional expression. Open
if backend_http_settings_list.is_a?(Array)
- Read upRead up
- Exclude checks
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'
- Read upRead up
- Exclude checks
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'
- Read upRead up
- Exclude checks
Space found before comma. Open
spec.add_development_dependency 'codeclimate-test-reporter' , '~> 1.0.0'
- Read upRead up
- Exclude checks
%w
-literals should be delimited by [
and ]
. Open
attribute :next_marker, aliases: %w(NextMarker next-marker)
- Read upRead up
- Exclude checks
%w
-literals should be delimited by [
and ]
. Open
attribute :cache_control, aliases: %w(Cache-Control CacheControl)
- Read upRead up
- Exclude checks
%w
-literals should be delimited by [
and ]
. Open
attribute :copy_status, aliases: %w(Copy-Status CopyStatus)
- Read upRead up
- Exclude checks
Use SCREAMING_SNAKE_CASE for constants. Open
Standard = 'Standard'.freeze
- Read upRead up
- Exclude checks
Use a guard clause instead of wrapping the code inside a conditional expression. Open
if probes.any?
- Read upRead up
- Exclude checks
Use a guard clause instead of wrapping the code inside a conditional expression. Open
if probe.is_a?(Hash)
- Read upRead up
- Exclude checks
%w
-literals should be delimited by [
and ]
. Open
attribute :last_modified, aliases: %w(Last-Modified LastModified), type: 'time'
- Read upRead up
- Exclude checks
%w
-literals should be delimited by [
and ]
. Open
attribute :copy_completion_time, aliases: %w(Copy-Completion-Time CopyCompletionTime)
- Read upRead up
- Exclude checks
%w
-literals should be delimited by [
and ]
. Open
attribute :copy_progress, aliases: %w(Copy-Progress CopyProgress)
- Read upRead up
- Exclude checks
Use a guard clause instead of wrapping the code inside a conditional expression. Open
if frontend_ports.is_a?(Array)
- Read upRead up
- Exclude checks
Use a guard clause instead of wrapping the code inside a conditional expression. Open
if missing.length == 1
- Read upRead up
- Exclude checks
Use a guard clause instead of wrapping the code inside a conditional expression. Open
if url_path_map.is_a?(Hash)
- Read upRead up
- Exclude checks