jjeremydiaz/OpenHouse

View on GitHub
config/environments/production.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [85/80]
Open

  # Settings specified here will take precedence over those in config/application.rb.
Severity: Minor
Found in config/environments/production.rb by rubocop

Line is too long. [82/80]
Open

  # Asset digests allow you to set far-future HTTP expiration dates on all assets,
Severity: Minor
Found in config/environments/production.rb by rubocop

Extra blank line detected.
Open


  # Do not fallback to assets pipeline if a precompiled asset is missed.
Severity: Minor
Found in config/environments/production.rb by rubocop

This cops checks for two or more consecutive blank lines.

Example:

# bad - It has two empty lines.
some_method
# one empty line
# two empty lines
some_method

# good
some_method
# one empty line
some_method

Missing space after #.
Open

  #config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
Severity: Minor
Found in config/environments/production.rb by rubocop

This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

Example:

# bad
#Some comment

# good
# Some comment

Line is too long. [96/80]
Open

  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
Severity: Minor
Found in config/environments/production.rb by rubocop

Line is too long. [102/80]
Open

  # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
Severity: Minor
Found in config/environments/production.rb by rubocop

Line is too long. [100/80]
Open

  # Set this to true and configure the email server for immediate delivery to raise delivery errors.
Severity: Minor
Found in config/environments/production.rb by rubocop

There are no issues that match your filters.

Category
Status