aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--README.md6
2 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3ac82a2..28b8537 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,14 @@ dev:
14 yarn 14 yarn
15 yarn start 15 yarn start
16 16
17.PHONY: fmt
18fmt:
19 npx prettier --check . '!**/*.min.{css,js}'
20
21.PHONY: fmt.write
22fmt.write:
23 npx prettier --write . '!**/*.min.{css,js}'
24
17.PHONY: run 25.PHONY: run
18run: 26run:
19 docker run --rm -p 8080:80 $(TAG_LATEST) 27 docker run --rm -p 8080:80 $(TAG_LATEST)
diff --git a/README.md b/README.md
index 5d4fe19..5b8fc3d 100644
--- a/README.md
+++ b/README.md
@@ -27,14 +27,14 @@ make run
27This project uses [Prettier](https://prettier.io/) formatting and all pull requests must pass 27This project uses [Prettier](https://prettier.io/) formatting and all pull requests must pass
28the automated lint checks prior to merging. 28the automated lint checks prior to merging.
29 29
30Run the link check with: 30Run the lint check with:
31 31
32``` 32```
33npx prettier --check . '!**/*.min.{css,js}' 33make fmt
34``` 34```
35 35
36Rewrite the files to resolve any style issues with: 36Rewrite the files to resolve any style issues with:
37 37
38``` 38```
39npx prettier --write . '!**/*.min.{css,js}' 39make fmt.write
40``` 40```