From 29779c7bea6e812b7dc53b5e76fb003a543146c5 Mon Sep 17 00:00:00 2001 From: David Harder Date: Wed, 13 Nov 2024 11:44:48 -0600 Subject: [PATCH] Run prettier, Add prettier as taskfile command "lint" --- Taskfile.yml | 6 ++++++ docs/packaging/advanced-config/local-repository.md | 1 + 2 files changed, 7 insertions(+) diff --git a/Taskfile.yml b/Taskfile.yml index 6c983ec11..265aff24f 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -41,3 +41,9 @@ tasks: cmds: - cmd: yarn cspell lint **/*.md* ignore_error: true + + # Run prettier on all md/mdx files, note prettier behaviour is set in .prettier* files + lint: + desc: Run prettier on all .md* files + cmds: + - cmd: yarn prettier diff --git a/docs/packaging/advanced-config/local-repository.md b/docs/packaging/advanced-config/local-repository.md index 295ce6270..f7662f033 100644 --- a/docs/packaging/advanced-config/local-repository.md +++ b/docs/packaging/advanced-config/local-repository.md @@ -60,6 +60,7 @@ go-task build-localcp ``` The `build-localcp` task will: + - Build the current package against any existing packages in your local repository. - Copy the newly built package files to your local repository. - Re-index your local repository.