motion-spec.gemspec
Add an empty line after magic comments. Open
Open
require File.expand_path('../lib/motion-spec/version', __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
Unnecessary utf-8 encoding comment. Open
Open
# encoding: utf-8
- Exclude checks