NullVoxPopuli/skinny_controllers

View on GitHub
lib/generators/policy/policy_generator.rb

Summary

Maintainability
A
0 mins
Test Coverage

Add an empty line after magic comments. (https://github.com/bbatsov/ruby-style-guide#separate-magic-comments-from-code)
Open

class PolicyGenerator < Rails::Generators::NamedBase

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

There are no issues that match your filters.

Category
Status