Skip to content

Commit

Permalink
Run prettier, Add prettier as taskfile command "lint"
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjharder committed Nov 13, 2024
1 parent 10714a6 commit 29779c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions docs/packaging/advanced-config/local-repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 29779c7

Please sign in to comment.