test_apps/rails_5_0/config/initializers/new_framework_defaults.rb
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. [81/80] Open
Open
Rails.application.config.action_controller.forgery_protection_origin_check = true
- Exclude checks
Add an empty line after magic comments. Open
Open
# Be sure to restart your server when you modify this file.
- Read upRead up
- Exclude checks
Checks for a newline after the final magic comment.
Example:
# good
# frozen_string_literal: true
# Some documentation for Person
class Person
# Some code
end
# bad
# frozen_string_literal: true
# Some documentation for Person
class Person
# Some code
end
Line is too long. [84/80] Open
Open
# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
- Exclude checks