Showing 3,213 of 3,213 total issues
Line is too long. [93/80] Open
Open
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
- Exclude checks
Line is too long. [88/80] Open
Open
# Do not halt callback chains when a callback returns false. Previous versions had true.
- Exclude checks
Line is too long. [96/80] Open
Open
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
- Exclude checks
Line is too long. [84/80] Open
Open
# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
if ENV["RAILS_LOG_TO_STDOUT"].present?
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Line is too long. [83/80] Open
Open
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
- Exclude checks
Do not use space inside array brackets. Open
Open
config.log_tags = [ :request_id ]
- Read upRead up
- Exclude checks
Checks that brackets used for array literals have or don't have surrounding space depending on configuration.
Example: EnforcedStyle: space
# The `space` style enforces that array literals have
# surrounding space.
# bad
array = [a, b, c, d]
# good
array = [ a, b, c, d ]
Example: EnforcedStyle: no_space
# The `no_space` style enforces that array literals have
# no surrounding space.
# bad
array = [ a, b, c, d ]
# good
array = [a, b, c, d]
Example: EnforcedStyle: compact
# The `compact` style normally requires a space inside
# array brackets, with the exception that successive left
# or right brackets are collapsed together in nested arrays.
# bad
array = [ a, [ b, c ] ]
# good
array = [ a, [ b, c ]]
Line is too long. [85/80] Open
Open
# Settings specified here will take precedence over those in config/application.rb.
- Exclude checks
Line is too long. [83/80] Open
Open
# Use a real queuing backend for Active Job (and separate queues per environment)
- Exclude checks
Line is too long. [85/80] Open
Open
# Settings specified here will take precedence over those in config/application.rb.
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
Mime::Type.register "application/xls", :xls
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Line is too long. [96/80] Open
Open
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
- Exclude checks
Line is too long. [85/80] Open
Open
# Settings specified here will take precedence over those in config/application.rb.
- Exclude checks