Sha256: e5f4f58bdacd32812d0645331307115e45868f1d5315bd0e6166c29fdf5789db
Contents?: true
Size: 465 Bytes
Versions: 26
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module Git module Lint module Analyzers # Analyzes author email address for proper format. class CommitAuthorEmail < Abstract include Import[validator: "validators.email"] def valid? = validator.call commit.author_email def issue return {} if valid? {hint: %(Use "<name>@<server>.<domain>" instead of "#{commit.author_email}".)} end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems