config/routes.rb
Line is too long. [81/80] Open
Open
# Example resource route (maps HTTP verbs to controller actions automatically):
- Exclude checks
Incorrect indentation detected (column 0 instead of 2). Open
Open
# devise_for :users
- Read upRead up
- Exclude checks
This cops checks the indentation of comments.
Example:
# bad
# comment here
def method_name
end
# comment here
a = 'hello'
# yet another comment
if true
true
end
# good
# comment here
def method_name
end
# comment here
a = 'hello'
# yet another comment
if true
true
end
Line is too long. [84/80] Open
Open
# The priority is based upon order of creation: first created -> highest priority.
- Exclude checks
Trailing whitespace detected. Open
Open
- Exclude checks
Trailing whitespace detected. Open
Open
- Exclude checks
Extra empty line detected at block body beginning. Open
Open
mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
- Read upRead up
- Exclude checks
This cops checks if empty lines around the bodies of blocks match the configuration.
Example: EnforcedStyle: empty_lines
# good
foo do |bar|
# ...
end
Example: EnforcedStyle: noemptylines (default)
# good
foo do |bar|
# ...
end