rubocop-hq/rubocop

View on GitHub
tasks/changelog.rb

Summary

Maintainability
A
2 hrs
Test Coverage
B
85%

Class Changelog has 24 methods (exceeds 20 allowed). Consider refactoring.
Open

class Changelog
  ENTRIES_PATH = 'changelog/'
  FIRST_HEADER = /#{Regexp.escape("## master (unreleased)\n")}/m.freeze
  ENTRIES_PATH_TEMPLATE = "#{ENTRIES_PATH}%<type>s_%<name>s.md"
  TYPE_REGEXP = /#{Regexp.escape(ENTRIES_PATH)}([a-z]+)_/.freeze
Severity: Minor
Found in tasks/changelog.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status