Updated to Git Lint 1.0.0
It is necessary to drop Git Cop because it has been deprecated. [Git Lint](https://www.alchemists.io/projects/git-lint) is the new offical gem for analyzing Git commit quality.
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -3,4 +3,4 @@
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gem "rake", "~> 13.0"
|
gem "rake", "~> 13.0"
|
||||||
gem "git-cop", "~> 4.0"
|
gem "git-lint", "~> 1.0"
|
||||||
|
|||||||
4
Rakefile
4
Rakefile
@@ -1,9 +1,9 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
begin
|
begin
|
||||||
require "git/cop/rake/setup"
|
require "git/lint/rake/setup"
|
||||||
rescue LoadError => error
|
rescue LoadError => error
|
||||||
puts error.message
|
puts error.message
|
||||||
end
|
end
|
||||||
|
|
||||||
task default: :git_cop
|
task default: :git_lint
|
||||||
|
|||||||
Reference in New Issue
Block a user