diff options
| author | Ben Woodward <ben@bdw.to> | 2021-07-15 09:01:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-15 09:01:18 -0700 |
| commit | 2b86e3fdaf735588d23709ddcdb89b093f6396dd (patch) | |
| tree | e9443f53d99fc4ece965ebd2922b4a9557f384e8 /README.md | |
| parent | 210433598a3072ed0ade022a580ac4522e491c01 (diff) | |
Add make targets for prettier formatting (#50)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -27,14 +27,14 @@ make run | |||
| 27 | This project uses [Prettier](https://prettier.io/) formatting and all pull requests must pass | 27 | This project uses [Prettier](https://prettier.io/) formatting and all pull requests must pass |
| 28 | the automated lint checks prior to merging. | 28 | the automated lint checks prior to merging. |
| 29 | 29 | ||
| 30 | Run the link check with: | 30 | Run the lint check with: |
| 31 | 31 | ||
| 32 | ``` | 32 | ``` |
| 33 | npx prettier --check . '!**/*.min.{css,js}' | 33 | make fmt |
| 34 | ``` | 34 | ``` |
| 35 | 35 | ||
| 36 | Rewrite the files to resolve any style issues with: | 36 | Rewrite the files to resolve any style issues with: |
| 37 | 37 | ||
| 38 | ``` | 38 | ``` |
| 39 | npx prettier --write . '!**/*.min.{css,js}' | 39 | make fmt.write |
| 40 | ``` | 40 | ``` |
