From 04e149108c44b6158164f00e6c161f04f00e24d5 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Wed, 6 Dec 2023 19:46:05 -0600 Subject: [PATCH] lint --- justfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 12f543408a..05086666dc 100644 --- a/justfile +++ b/justfile @@ -88,7 +88,8 @@ lint: shellcheck -x {{ scripts }} shfmt -d {{ scripts }} just --unstable --fmt --check - npx prettier -c $(git ls-files '*.md' '*.yml' '*.yaml') + npx prettier -c $(git ls-files '*.yml' '*.yaml') + npx markdownlint-cli . # runs linters but makes fixes when possible lint-fix: @@ -97,7 +98,10 @@ lint-fix: shellcheck -x {{ scripts }} shfmt -w {{ scripts }} just --unstable --fmt - npx prettier -w $(git ls-files '*.md' '*.yml' '*.yaml') + npx prettier -w $(git ls-files '*.yml' '*.yaml') + npx markdownlint-cli --fix . + +render-all: render-help render-completions render-mangen render-all: render-help render-completions render-mangen