lib/cequel/record.rb
Add an empty line after magic comments. Open
Open
require 'active_model'
- 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
Unnecessary utf-8 encoding comment. Open
Open
# -*- encoding : utf-8 -*-
- Exclude checks
Line is too long. [86/80] Open
Open
include ActiveModel::Serializers::Xml if defined?(ActiveModel::Serializers::Xml)
- Exclude checks