From f0b9f1b64208fe47caf717aceda68f3780f5cf32 Mon Sep 17 00:00:00 2001 From: Greegko Date: Tue, 20 Jul 2021 09:31:58 +0200 Subject: [PATCH] add prettier --- .prettierrc | 5 +++++ package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 11 insertions(+) create mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..a2bca2d --- /dev/null +++ b/.prettierrc @@ -0,0 +1,5 @@ +{ + "trailingComma": "all", + "printWidth": 120, + "arrowParens": "avoid" +} diff --git a/package.json b/package.json index 8f3fcc8..88fd7aa 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "packages/*" ], "dependencies": { + "prettier": "2.3.2", "concurrently": "6.2.0" } } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index bb707aa..18815b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3622,6 +3622,11 @@ prelude-ls@~1.1.2: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= +prettier@2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d" + integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ== + pretty-format@^27.0.6: version "27.0.6" resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-27.0.6.tgz"