From 83d81259aca9a56afeff2f7f1266161cfee88c6f Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Wed, 6 Dec 2023 19:27:25 -0600 Subject: [PATCH] lint --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 120c655753..5a35f7ff66 100644 --- a/justfile +++ b/justfile @@ -62,7 +62,7 @@ test-coverage: ./e2e/run_all_tests if [[ "${TEST_TRANCHE:-}" == 0 ]]; then rtx trust - just pre-commit: render-help render-completions render-mangen + just render-help render-completions render-mangen rtx implode elif [[ "${TEST_TRANCHE:-}" == 1 ]]; then rtx trust @@ -88,7 +88,7 @@ lint: shellcheck -x {{ scripts }} shfmt -d {{ scripts }} just --unstable --fmt --check - prettier -c $(git ls-files '*.md' '*.yml' '*.yaml') + npx prettier -c $(git ls-files '*.md' '*.yml' '*.yaml') # runs linters but makes fixes when possible lint-fix: @@ -97,7 +97,7 @@ lint-fix: shellcheck -x {{ scripts }} shfmt -w {{ scripts }} just --unstable --fmt - prettier -w $(git ls-files '*.md' '*.yml' '*.yaml') + npx prettier -w $(git ls-files '*.md' '*.yml' '*.yaml') # regenerate README.md render-help: build