Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

chore(tests): pass --yes flag to npx

Gabe Kangas57897b5fc69b
diff --git a/lefthook.yml b/lefthook.yml
index 69ccbfff31..718627bd2d 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -23,21 +23,21 @@ pre-commit:
js-linter:
glob: '*.{js,ts,jsx,tsx}'
root: web/
- run: npx eslint --fix --ext {staged_files}
+ run: npx --yes eslint --fix --ext {staged_files}
stage_fixed: true
prettier:
glob: '*.{js,ts,jsx,tsx,css,scss}'
- run: npx prettier --write {staged_files}
+ run: npx --yes prettier --write {staged_files}
staged_fixed: true
css-linter:
glob: '*.{css,scss}'
root: web/
- run: npx stylelint --fix {staged_files}
+ run: npx --yes stylelint --fix {staged_files}
stage_fixed: true
js-unused:
glob: '*.{js,ts,jsx,tsx}'
root: web/
- run: npx knip --include dependencies,files,exports
+ run: npx --yes knip --include dependencies,files,exports
go-fmt:
glob: '*.go'
run: go tool gofumpt -l -w {staged_files}