Skip to content

Commit e8ba16f

Browse files
authored
apply prettier (#382)
* add .prettierignore * apply prettier * add yarn format script (prettier)
1 parent c02e054 commit e8ba16f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.prettierignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
examples/**/*.ts
2+
tests/*/expected/**/*.ts
3+
tests/*/generated/**/*.ts
4+
*.md
5+
*.yaml
6+
*.yml

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"scripts": {
5252
"build": "pika-pack build",
5353
"deploy": "npm run build && pika publish",
54+
"format": "yarn prettier -w .",
5455
"lint": "eslint --ignore-path .gitignore --ext .js,.ts src",
5556
"pregenerate": "npm run build",
5657
"test": "npm run build && jest --no-cache",

0 commit comments

Comments
 (0)