proc_matcher.gemspec
Block has too many lines. [26/25] Open
Open
Gem::Specification.new do |gem|
gem.name = 'proc_matcher'
gem.version = ProcMatcher::VERSION
gem.authors = ['Declan Whelan']
gem.email = ['dwhelan@leanintuit.com']
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.
Add an empty line after magic comments. Open
Open
lib = File.expand_path('../lib', __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
# coding: utf-8
- Exclude checks