Skip to content

Commit d2e2123

Browse files
committed
add prettier dependency
1 parent 712ce02 commit d2e2123

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.prettierrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"trailingComma": "none",
3+
"semi": false,
4+
"printWidth": 120,
5+
"singleQuote": true,
6+
"jsxSingleQuote": true,
7+
"arrowParens": "always"
8+
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
"@types/validator": "12.0.1",
114114
"koa2-swagger-ui": "2.15.4",
115115
"nodemon": "2.0.1",
116+
"prettier": "^2.5.1",
116117
"ts-node": "8.5.4",
117118
"typescript": "3.9.7",
118119
"webpack-cli": "3.3.10"

yarn.lock

+5
Original file line numberDiff line numberDiff line change
@@ -7848,6 +7848,11 @@ prepend-http@^1.0.1:
78487848
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
78497849
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=
78507850

7851+
prettier@^2.5.1:
7852+
version "2.5.1"
7853+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a"
7854+
integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==
7855+
78517856
pretty-format@^25.2.1, pretty-format@^25.5.0:
78527857
version "25.5.0"
78537858
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-25.5.0.tgz#7873c1d774f682c34b8d48b6743a2bf2ac55791a"

0 commit comments

Comments
 (0)