test_apps/rails_5_0/config/routes.rb
Add an empty line after magic comments. Open
Open
Rails.application.routes.draw do
- 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