fga-gpp-mds/2017.1-Escola-X

View on GitHub

Showing 3,213 of 3,213 total issues

Line is too long. [93/80]
Open

# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
Severity: Minor
Found in config/initializers/assets.rb by rubocop

Line is too long. [88/80]
Open

# Do not halt callback chains when a callback returns false. Previous versions had true.

Line is too long. [96/80]
Open

# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.

Line is too long. [84/80]
Open

# Configure SSL options to enable HSTS with subdomains. Previous versions had false.

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

  if ENV["RAILS_LOG_TO_STDOUT"].present?
Severity: Minor
Found in config/environments/production.rb by rubocop

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

  # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
Severity: Minor
Found in config/environments/production.rb by rubocop

Do not use space inside array brackets.
Open

  config.log_tags = [ :request_id ]
Severity: Minor
Found in config/environments/production.rb by rubocop

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

  # 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. [83/80]
Open

  # Use a real queuing backend for Active Job (and separate queues per environment)
Severity: Minor
Found in config/environments/production.rb by rubocop

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/test.rb by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

Mime::Type.register "application/xls", :xls
Severity: Minor
Found in config/initializers/mime_types.rb by rubocop

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

  # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
Severity: Minor
Found in config/environments/production.rb by rubocop

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/development.rb by rubocop
Severity
Category
Status
Source
Language