8000 Run gherkin-lint through yarn · stephancom/activeadmin@84d698c · GitHub
[go: up one dir, main page]

Skip to content

Commit 84d698c

Browse files
Run gherkin-lint through yarn
1 parent 2f25b00 commit 84d698c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"rollup-plugin-uglify": "^6.0.3"
3838
},
3939
"scripts": {
40-
"lint": "gherkin-lint features",
40+
"gherkin-lint": "gherkin-lint",
4141
"build": "rollup --config rollup.config.js",
4242
"prepublishOnly": "rm -rf src && cp -R app/javascript/active_admin src && cp -R app/assets/stylesheets/active_admin src/scss"
4343
},

tasks/lint.rake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ namespace :lint do
124124
task :gherkin_lint do
125125
puts "Running gherkin-lint..."
126126

127-
sh("npx", "gherkin-lint")
127+
sh("bin/yarn", "install")
128+
sh("bin/yarn", "gherkin-lint")
128129
end
129130

130131
desc "Check for unnecessary trailing blank lines across all repo files"

0 commit comments

Comments
 (0)
0