8000 Make gherkin lint independent of the underlying tool · stephancom/activeadmin@b7348b7 · GitHub
[go: up one dir, main page]

Skip to content

Commit b7348b7

Browse files
Make gherkin lint independent of the underlying tool
1 parent 84d698c commit b7348b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tasks/lint.rake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class SassRailsLinter
106106
end
107107

108108
desc "Lints ActiveAdmin code base"
109-
task lint: ["lint:rubocop", "lint:mdl", "lint:gherkin_lint", "lint:trailing_blank_lines", "lint:missing_final_new_line", "lint:trailing_whitespace", "lint:fixme", "lint:sass_rails", "lint:rspec"]
109+
task lint: ["lint:rubocop", "lint:mdl", "lint:gherkin", "lint:trailing_blank_lines", "lint:missing_final_new_line", "lint:trailing_whitespace", "lint:fixme", "lint:sass_rails", "lint:rspec"]
110110

111111
namespace :lint do
112112
require "rubocop/rake_task"
@@ -120,9 +120,9 @@ namespace :lint do
120120
sh("mdl", "--git-recurse", ".")
121121
end
122122

123-
desc "Checks gherkin code style with gherkin-lint"
124-
task :gherkin_lint do
125-
puts "Running gherkin-lint..."
123+
desc "Checks gherkin code style"
124+
task :gherkin do
125+
puts "Linting gherkin code..."
126126

127127
sh("bin/yarn", "install")
128128
sh("bin/yarn", "gherkin-lint")

0 commit comments

Comments
 (0)
0